most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| version: 2 | |
| jobs: | |
| build: | |
| working_directory: /srv/biblebox | |
| environment: | |
| DISPLAY: :99 | |
| BIBLEBOX_DATA_PATH: /srv/biblebox-data | |
| BIBLEBOX_SEARCH_ENDPOINT: http://127.0.0.1:1234 | |
| BIBLEBOX_DATA_ENDPOINT: http://127.0.0.1:2345 | |
| TESTCAFE_CLI_XTRS: --app-init-delay 6000 --no-color --reporter list |
| /* eslint-disable padded-blocks */ | |
| import {Record, List} from 'immutable' | |
| import {isEqual} from 'lodash' | |
| export class Cake extends Record({ | |
| id: null, | |
| name: null, | |
| }, 'Cake') {} | |
| describe('isEqual', () => { |
| .PHONY: apply | |
| plan: | |
| cd terraform && terraform plan -var-file terraform.tfvars -parallelism=1 | |
| apply: | |
| cd terraform && terraform apply -var-file terraform.tfvars | |
| destroy: | |
| cd terraform && terraform plan -destroy -var-file terraform.tfvars -out terraform.tfplan |
| local application = require "mjolnir.application" | |
| local hotkey = require "mjolnir.hotkey" | |
| local window = require "mjolnir.window" | |
| local screen = require "mjolnir.screen" | |
| local fnutils = require "mjolnir.fnutils" | |
| hotkey.bind({"cmd", "alt", "ctrl"}, "M", function() | |
| local win = window.focusedwindow() | |
| local screen = screen.mainscreen() | |
| win:setframe(screen:fullframe()) |
| function loadScript(url){var ld = document.createElement('script');ld.src=url;document.getElementsByTagName('head')[0].appendChild(ld);}; | |
| loadScript("//cdnjs.cloudflare.com/ajax/libs/lodash.js/3.5.0/lodash.js"); |
| // PERSONALIZED SETTINGS | |
| def downloadsDir = "/data/share/download/completed" | |
| def quarantineDir = "/data/share/download/quarantine" | |
| def episodeFormat = '''/data/share/videos/tv/{n}/Season {s.pad(2)}/{e.pad(2)} - {t}/{n} - {s00e00} - {t}''' | |
| def movieFormat = '''/data/share/videos/filmes/{movie}/{movie}''' | |
| File.metaClass.isArchive = { _types.getFilter("archive").accept(delegate) || delegate.name =~ /[.]rar$|[.]r[\d]+$/ } | |
| File.metaClass.isSample = { delegate.name =~ /(?i).*(sample|trailer|extras|deleted.scenes|music.video|scrapbook).*/ ? true : false } |
| presets: | |
| global: | |
| torrent_alive: yes | |
| seen: local # We don't want accepted movies on this feed to affect actual download feed | |
| download: | |
| path: /c/media/BitTorrent/sources | |
| overwrite: no | |
| notifications: | |
| rapidpush: |
| var Robot = function(robot){ | |
| robot.turnLeft(robot.angle % 90); | |
| //robot.turnGunRight(90); | |
| robot.clone(); | |
| this.direction = 1; | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(1); |
| function Robot(robot) {} | |
| // well, we need to do something... | |
| // whenever our robot is idle, this method gets called. | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot; | |
| robot = ev.robot; | |
| robot.ahead(150); | |
| robot.rotateCannon(360); | |
| robot.back(100); |