UTC: 2025-02-24 19:48
Nek-/choco-phpmyadmin
This file is automatically generated by the update_all.ps1 script using the AU module.
Ignored | History | Force Test | Releases
| # You need both bundles : | |
| # composer require knpuniversity/oauth2-client-bundle | |
| # composer require stevenmaguire/oauth2-keycloak | |
| OAUTH_KEYCLOAK_CLIENT_ID="" | |
| OAUTH_KEYCLOAK_CLIENT_SECRET="" | |
| OAUTH_KEYCLOAK_URL="(Example : https://my.keycloack:922)" | |
| OAUTH_KEYCLOAK_REALM="Realm" |
| <?php | |
| /** | |
| * Converts country code (ISO 3166-1) to its emoji flag representation (PL -> 🇵🇱). | |
| * | |
| * This solution supports both lowercase and uppercase codes using modulo 32 . | |
| * Since it doesn't perform any validation, you should make sure the code is a valid country code first. | |
| * | |
| * 0x1F1E5 is a code of character right before "REGIONAL INDICATOR SYMBOL LETTER A" (🇦). | |
| * |
UTC: 2025-02-24 19:48
Nek-/choco-phpmyadmin
This file is automatically generated by the update_all.ps1 script using the AU module.
Ignored | History | Force Test | Releases
| # Download the latest stable version of VS Code and store it in a temporary location | |
| wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb | |
| # Now, install the newly downloaded VS Code | |
| sudo dpkg -i /tmp/code_latest_amd64.deb |
| <?php | |
| register_tick_function(function() { | |
| $bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1); | |
| $last = reset($bt); | |
| $info = sprintf("%s +%d\n", $last['file'], $last['line']); | |
| file_put_contents('/tmp/segfault.txt', $info, FILE_APPEND); | |
| // or | |
| // file_put_contents('php://output', $info, FILE_APPEND); | |
| }); |
| 1. go to https://sslvpn.demo.sonicwall.com/cgi-bin/welcome | |
| 2. log in with demo/password | |
| 3. click on NetExtender icon, this will download a tar.gz with the client | |
| 4. sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.6 | |
| 5. sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.6 | |
| 6. un-tar the client, make install script executable and launch install |
| #!/bin/bash | |
| # Put this file at: .git/hooks/post-checkout | |
| # and make it executable | |
| # You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
| PREV_COMMIT=$1 | |
| POST_COMMIT=$2 | |
| NOCOLOR='\e[0m' |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| <?xml version="1.0" encoding="utf-8"?> | |
| <TabHost xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:id="@android:id/tabhost" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent"> | |
| <LinearLayout | |
| android:orientation="vertical" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent"> | |
| <TabWidget |