Live coded in 30 minutes on the 11th of August 2015. Uses transform-style: preserve-3d
, so it can only work in browsers supporting it. This excludes IE up to and including 11. It's also ugly if CSS filters are not supported. Tested and works in Firefox 39, Chrome 44, 46 (canary)/ Opera 31 beta on Windows 8. Inspiration:
This file contains 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
CREATE OR REPLACE FUNCTION empty(TEXT) | |
RETURNS bool AS | |
$$ SELECT $1 ~ '^[[:space:]]*$'; $$ | |
LANGUAGE sql | |
IMMUTABLE; | |
COMMENT ON FUNCTION empty(TEXT) | |
IS 'Find empty strings or strings containing only whitespace'; |
This file contains 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
require 'open-uri' | |
class Bingy | |
LANDING_PAGE = 'http://www.bing.com/translator'.freeze | |
SPEAK_URL = LANDING_PAGE + '/api/language/Speak?locale=en-US&media=audio/mp3' | |
def initialize(text, gender = 'male') | |
@user_agent = 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36' | |
@params = { text: text, gender: gender } | |
end |
I hereby claim:
- I am jheidt on github.
- I am jheidt (https://keybase.io/jheidt) on keybase.
- I have a public key ASDAOxUGYzlyylAoT7Ic4vUzcoacT0fBAiEaRvaOghsEoAo
To claim this, I am signing this object:
This file contains 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
if( !!this['claimIntervalId'] && this['claimIntervalId'] > 0) { | |
console.log(`clearing interval (id = ${ this['claimIntervalId'] })`); | |
window.clearInterval(this['claimIntervalId']); | |
} | |
claimIntervalId = window.setInterval( () => { | |
const claim = document.querySelector('div.claimable-bonus__icon'); | |
if(null !== claim) { | |
console.info('claimed reward!'); | |
try { claim.parentElement.parentElement.click(); } | |
catch(e) { console.error(e); } |
This file contains 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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"requestedTheme": "system", | |
This file contains 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
[interop] | |
enabled=true | |
appendWindowsPath=false | |
[automount] | |
enabled=true | |
options="metadata" |
This file contains 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
package McGriff; | |
import java.util.ArrayList; | |
// Justin | |
// Course CIS217 | |
// Project 2 | |
// 3/5/20 | |
// | |
public class WageGamer { | |
//private fields |
This file contains 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
--no-cache --no-save --protected --private --charset utf-8 --plugin yard-activerecord --plugin yard-activesupport-concern |
This file contains 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
import { existsSync, promises } from 'fs'; | |
import { homedir } from 'os'; | |
import { join } from 'path'; | |
import { showStatusBarItem, hideStatusBarItem } from './statusBarItem'; | |
import { showQR, closeQRWebview } from './qr'; | |
const { readFile } = promises; | |
import { |