-
Install needed deps:
apt-get install libjpeg62 libjpeg62-dev libpng16-16 libpng16-dev libopenjpeg-dev libjpeg-dev libopenjp2-7-dev
-
Download the ImageMagik source
cd ImageMagick-7.0.5-0
-
Untar the source
tar xfz ImageMagick.tar.gz
-
Run Configure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1LjvWYXonYnt8Q5a7U6q3SdeGvh2zUBW2v https://explorer.blockstack.org/address/1LjvWYXonYnt8Q5a7U6q3SdeGvh2zUBW2v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <stdio.h> | |
bool checkUuidInScanData(uint8_t* advData, uint8_t advDataLen, uint8_t* bleUUID, uint8_t bleUUIDLen) | |
{ | |
for (int i = advDataLen; i > bleUUIDLen; --i) | |
{ | |
for (int j = 0; j < bleUUIDLen; ++j) | |
{ | |
printf("i=%d a=%x \t j=%d u=%x\n", i, advData[i-j], j, bleUUID[j]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var base = "https://www.thebluealliance.com/api/v2"; | |
var options = { | |
headers: { | |
"X-TBA-App-Id": "blakeb:fantasyfrcsheet:1.0", | |
} | |
}; | |
//Docs: https://www.thebluealliance.com/apidocs#team-events-request | |
// This function takes a team number and returns a pipe delimited list of the weeks they are competing | |
function weeksAttending(teamNum) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//v1.1 | |
//Settings | |
float SCAN_DELAY = 60; //seconds | |
integer DEBUG = TRUE; | |
string location = ""; | |
float SCAN_RANGE = 32; | |
//Constants | |
string baseURL = "https://docs.google.com/forms/d/e/<GOOGLE_SHEET_ID>/formResponse?"; | |
key reqid = NULL_KEY; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# License MIT | |
import os, re, sys | |
where = '.' | |
try: | |
where = sys.argv[1] | |
except: | |
pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"folder_exclude_patterns": | |
[ | |
".meteor/local", | |
"node_modules" | |
], | |
"path": "." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dev server configuration | |
# | |
server_tokens off; # for security-by-obscurity: stop displaying nginx version | |
# this section is needed to proxy web-socket connections | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
console.log(${1}); | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>co</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.javascript</scope> --> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Deploy code | |
hosts: appservers | |
# become: true | |
remote_user: '{{username}}' | |
vars: | |
install_dir: /home/{{username}}/software #no trailing slash | |
vars_prompt: | |
- name: "tag" |