I hereby claim:
- I am statickidz on github.
- I am skidz (https://keybase.io/skidz) on keybase.
- I have a public key ASBtgRaCsTa5XJbiKIJUcna4qSMa20J-QGFahsoxAq6pjAo
To claim this, I am signing this object:
| var date = new Date(); | |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| watch: { | |
| models: { | |
| files: ['application/models/**/*.php'], | |
| tasks: ['copyTask'], | |
| options: { | |
| spawn: false, | |
| }, |
| Find > Replace (Select regular expression check) | |
| Find What: \s]*$(?!\w\W]) | |
| Replace With: |
| --- | |
| METHOD 1 | |
| This should roughly sort the items on distance in MySQL, and should work in SQLite. | |
| If you need to sort them preciser, you could try using the Pythagorean theorem (a^2 + b^2 = c^2) to get the exact distance. | |
| --- | |
| SELECT * | |
| FROM table | |
| ORDER BY ((lat-$user_lat)*(lat-$user_lat)) + ((lng - $user_lng)*(lng - $user_lng)) ASC |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) | |
| Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip) | |
| Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip) |
| <?php | |
| $wpConfig = $_SERVER['DOCUMENT_ROOT'].'/wp-config.php'; | |
| if (file_exists($wpConfig)) { | |
| header('Content-Description: File Transfer'); | |
| header('Content-Type: application/octet-stream'); | |
| header('Content-Disposition: attachment; filename='.basename($wpConfig)); | |
| header('Expires: 0'); | |
| header('Cache-Control: must-revalidate'); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="robots" content="noindex, nofollow"/> | |
| <title>Search and replace files</title> | |
| </head> | |
| <body style="margin: 0; padding: 0;"> | |
| <?php | |
| $err_arr = array(0 => '', 1 => ''); |
| Opacity % 255 Step 2 digit HEX prefix | |
| 0% 0.00 00 | |
| 5% 12.75 0C | |
| 10% 25.50 19 | |
| 15% 38.25 26 | |
| 20% 51.00 33 | |
| 25% 63.75 3F | |
| 30% 76.50 4C | |
| 35% 89.25 59 | |
| 40% 102.00 66 |
| export JAVA_HOME=$(/usr/libexec/java_home) | |
| export ANDROID_HOME=/Users/$USER/Library/Android/sdk | |
| export ANDROID_SDK_ROOT=/Users/$USER/Library/Android/sdk | |
| export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | |
| export PATH="$HOME/.fastlane/bin:$PATH" | |
| source ~/.nvm/nvm.sh |
| files: | |
| "/etc/cron.d/certbot": | |
| mode: "000644" | |
| owner: root | |
| group: root | |
| content: | | |
| 56 1 * * * root /opt/certbot/certbot-auto renew | |
| commands: | |
| remove_old_cron: | |
| command: "rm -f /etc/cron.d/*.bak" |
I hereby claim:
To claim this, I am signing this object: