- After login to your user, enter root session:
sudo -i- Edit SSHD config:
vi /etc/ssh/sshd_config| wire = LittleWire.connect | |
| wire.pin_mode :pin1, :out | |
| loop do | |
| wire.digital_write :pin1, :vcc | |
| sleep 0.5 | |
| wire.digital_write :pin1, :gnd | |
| sleep 0.5 | |
| end |
| #!/bin/sh | |
| # put to the .git/hooks/pre-push | |
| while read local_ref local_sha remote_ref remote_sha | |
| do | |
| printf "%0.s*" {1..100} | |
| printf "\n" | |
| echo "*** Create PR using this link: https://github.com/ORG/REPO_NAME/compare/$remote_ref?expand=1" | |
| printf "%0.s*" {1..100} |
| // Bot for http://gabrielecirulli.github.io/2048/ | |
| FakeActuator = function() {} | |
| FakeActuator.prototype.actuate = function () { | |
| } | |
| score = 0; | |
| max = 0; | |
| maxReach = 512; |
| [Unit] | |
| Description=Start Herir Node.js Service | |
| Requires=network.target | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| WorkingDirectory=/srv/hereir/node | |
| ExecStart=/usr/bin/forever start --pidFile /var/run/hereir.pid HereIR.js | |
| ExecStop=/usr/bin/forever stop HereIR.js |
| #!/bin/bash | |
| # IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after. | |
| # WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
| # Get active services: launchctl list | grep -v "\-\t0" | |
| # Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents | |
| # Agents to disable | |
| TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi |
Get the Heroku db as detailed here: http://devcenter.heroku.com/articles/pgbackups#exporting_via_a_backup
Then locally do:
| (* | |
| -- When running each app separately | |
| tell application "Deezer" | |
| if it is running then | |
| set old to (path to frontmost application as text) | |
| tell application "Deezer" | |
| reopen | |
| activate | |
| end tell | |
| tell application "System Events" to key code 49 |