Skip to content

Instantly share code, notes, and snippets.

View tyteen4a03's full-sized avatar

Timothy Choi tyteen4a03

View GitHub Profile
@gottalovelattes
gottalovelattes / Instagram CSS Gradient BG
Created February 27, 2017 00:19
Instagram CSS gradient background
background: #f09433;
background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
@robot56
robot56 / gist:fefe6f00ab54a6e59b99
Created June 2, 2015 02:44
Quick and dirty script to poll all drivers from NVIDIA.com's front-end API. It can take ~12 hours to complete, be warned!
import sys
import requests
import json
import time
import re
import base64
class NvidiaDriverGrabber():
def __init__(self, lookup_url, process_url, product_types, locale, language, throttle = 5):
self.LOOKUP_URL = lookup_url
// Copyright 2013 Matvei Stefarov <me@matvei.org>
using System;
using JetBrains.Annotations;
using RgbColor = System.Drawing.Color;
namespace fCraft.Drawing {
/// <summary> Represents a palette of Minecraft blocks,
/// that allows matching RGB colors to their closest block equivalents. </summary>
public class BlockPalette {
@koenpunt
koenpunt / chosen-bootstrap.css
Last active March 11, 2023 01:01
Bootstrap 3.0 theme for Chosen
select.form-control + .chosen-container.chosen-container-single .chosen-single {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: #555;
vertical-align: middle;
background-color: #fff;