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
| using UnityEngine; | |
| using System; | |
| public class ApiBackgroundColor : MonoBehaviour { | |
| private Color backgroundColor; | |
| private ApiClient.Rgba rgba; | |
| private Camera camera; |
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
| # Enable this block for productivity | |
| 127.0.0.1 www.facebook.com | |
| 127.0.0.1 facebook.com | |
| 127.0.0.1 login.facebook.com | |
| 127.0.0.1 www.login.facebook.com | |
| 127.0.0.1 fbcdn.net | |
| 127.0.0.1 www.fbcdn.net | |
| 127.0.0.1 fbcdn.com | |
| 127.0.0.1 www.fbcdn.com | |
| 127.0.0.1 static.ak.fbcdn.net |
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
| import time | |
| import RPi.GPIO as GPIO | |
| GPIO.setmode(GPIO.BCM) | |
| class Toggle: | |
| enabled = False | |
| def __init__(self, pin): | |
| self.pin = pin |
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
| require "json" | |
| require "yaml" | |
| require "net/http" | |
| require "uri" | |
| yaml_file = "#{Dir.pwd}/range.yml" | |
| uri = URI.parse("https://ip-ranges.amazonaws.com/ip-ranges.json") | |
| http = Net::HTTP.new(uri.host, uri.port) |
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> | |
| <title>Wat</title> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
| <style> | |
| ul, | |
| li { |
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
| # | |
| # Reid Blomquist's zshrc | |
| # | |
| # stuff being used: | |
| # - zsh | |
| # - prezto | |
| # - powerlevel9k | |
| # - a bunch of other shit | |
| # |
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
| javascript:( | |
| (function(){ | |
| var project = document.querySelector('[itemprop=name]').textContent.trim().toUpperCase(); | |
| var title = document.querySelector('.js-issue-title').textContent.trim(); | |
| var comments = document.querySelector('.timeline-comment-wrapper').querySelector('.comment-body').textContent.trim().split('\n').join('%0D%0A'); | |
| var url = window.location.href; | |
| var subject = `Alpha approval request for: ${project} ${title}`; | |
| var body = `Requesting Alpha deploy approval for ${project}: ${title}%0D%0A%0D%0AChangelog:%0D%0A${comments}%0D%0A%0D%0AView more here: ${url}`; |
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
| "ETH", "ADA", "BTC", "BCH" |
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
| using System; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class Clock : MonoBehaviour { | |
| const float | |
| degreesPerHour = 30f, | |
| degreesPerMinute = 6f, | |
| degreesPerSecond = 6f; |