sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo reboot
version: 2 | |
jobs: | |
build: | |
working_directory: ~/mowers | |
docker: | |
- image: circleci/ruby:2.4.1-node | |
environment: | |
PGHOST: 127.0.0.1 | |
PGUSER: mower | |
RAILS_ENV: test |
var orig = [ | |
[ | |
"Afghanistan (افغانستان)", | |
"af", | |
"93" | |
], | |
[ | |
"Albania (Shqipëri)", | |
"al", | |
"355" |
config.ignore_if do |exception, options| | |
# use beginning to prevent non unique keys (they include object ids and such) | |
key = exception.message.split("for").first[0..30] | |
ExpirableKey.new(key).exist_with_renew | |
end |
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>For Topre REALFORCE 87u Users</name> | |
<devicevendordef> | |
<vendorname>TopreCorporation</vendorname> | |
<vendorid>0x0853</vendorid> | |
</devicevendordef> | |
<item> | |
<name>Fix FN + F1..F12 and functional keys</name> |
#!/bin/sh | |
# | |
# chkconfig: 2345 55 25 | |
# Description: Nginx init.d script, put in /etc/init.d, chmod +x /etc/init.d/nginx | |
# For Debian, run: update-rc.d -f nginx defaults | |
# For CentOS, run: chkconfig --add nginx | |
# | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all |
Relevant Rails PRs
h/t to http://juanitofatas.com/2015/01/31/rails-5-active-record-or/ for some more useful links
// Load the TCP Library | |
net = require('net'); | |
// Keep track of the chat clients | |
var clients = []; | |
// Start a TCP Server | |
net.createServer(function (socket) { | |
// Identify this client |
diff --git a/ext/bluecloth.h b/ext/bluecloth.h | |
index 230618b..97053b5 100644 | |
--- a/ext/bluecloth.h | |
+++ b/ext/bluecloth.h | |
@@ -7,20 +7,21 @@ | |
#ifndef BLUECLOTH_H | |
#define BLUECLOTH_H | |
+#include "ruby.h" | |
+ |