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
#! /bin/bash | |
###################################################################### | |
# | |
# This script generates an SSL certficate for local development. To | |
# execute the script, run `bash create-dev-ssl-cert.sh`. Sudo is | |
# needed to save the certificate to your Mac KeyChain. After the cert | |
# is generated, you can use `HTTPS=true yarn start` to run the web | |
# server. | |
# |
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
#trello-root { background: #000!important; } | |
.list {background-color: #333; } | |
.list textarea { color: #999; } | |
.list .list-card { background-color: #444; } | |
.list .list-card span {color: #000; } | |
.list .list-card .card-label { opacity: 0.25; } | |
.window { background-color: #333; } | |
.window span, .window h3, .window textarea, .window a { color: #999; } | |
.window .action-comment { background-color: #444; } |
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
/* | |
By Osvaldas Valutis, www.osvaldas.info | |
https://osvaldas.info/image-lightbox-responsive-touch-friendly | |
Available for use under the MIT License | |
*/ | |
;( function( $, window, document, undefined ) | |
{ | |
'use strict'; |
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
terminus wp "search-replace 'find' 'replace' --dry-run" --site=mysite --env=dev|test|live |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>PICO-8 Cartridge</title> | |
<meta name="description" content=""> | |
<STYLE TYPE="text/css"> | |
<!-- |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<title></title> | |
</head> | |
<body> | |
<p></p> | |
</body> |
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 <iostream> | |
#include "map1.h" | |
//#include "map2.h" | |
//#include "map3.h" | |
const char DESTINATION = 'd'; | |
const char START = 's'; | |
const char PORTAL = 'p'; | |
const char 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
#!/bin/bash | |
if [ -z "$1" ]; then # check if we have any arguments | |
echo usage: $0 command # if not, print a message and quit | |
exit | |
fi | |
nohup "$@" >/dev/null 2>&1 & # "$@" expands all the given arguments |
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
@keyframes rotating | |
{ | |
from | |
{ | |
transform: rotate(0deg); | |
-o-transform: rotate(0deg); | |
-ms-transform: rotate(0deg); | |
-moz-transform: rotate(0deg); | |
-webkit-transform: rotate(0deg); | |
} |
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
// Trim text. | |
/* | |
- Respects word boundaries by default (will not chop a word up to create ellipses by default). | |
- Allows for ellipses or no ellipses. | |
*/ | |
function trimText( jquery_obj_to_trim, int_trim_length, bool_ellipses, bool_respect_word_boundaries ){ | |
var ellipses; | |
if( typeof bool_ellipses === "undefined" ){ |
NewerOlder