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
public class |
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
public class foo | |
{ | |
} | |
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
<?xml version="1.0"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="35" columns="160" buffer_rows="9999" buffer_columns="0" shell="" init_dir="" start_hidden="1" save_size="0"> | |
<colors> | |
<color id="0" r="48" g="48" b="48"/> | |
<color id="1" r="0" g="0" b="128"/> | |
<color id="2" r="0" g="150" b="0"/> | |
<color id="3" r="0" g="150" b="150"/> | |
<color id="4" r="174" g="87" b="0"/> | |
<color id="5" r="128" g="0" b="128"/> |
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
@echo off | |
"C:\Program Files (x86)\Microsoft XDE\8.0\xde.exe" -createDiffDisk "C:\Users\Erik\AppData\Local\Microsoft\XDE\dd.480x800.1024.vhd" -vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.480x800.vhd" -name "Emulator WVGA.erik" -memsize 1024 |
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
using System.Web.Optimization; | |
using dotless.Core; | |
namespace Optimization { | |
public class LessMinify : CssMinify { | |
public LessMinify() { } | |
public override void Process(BundleContext context, BundleResponse response) { | |
response.Content = Less.Parse(response.Content); | |
base.Process(context, response); |
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
<script> | |
$(document).ready(function () { | |
//Ask ASP.NET what culture we prefer, because we stuck it in a meta tag | |
var data = $("meta[name='accept-language']").attr("content") | |
//Tell jQuery to figure it out also on the client side. | |
$.global.preferCulture(data); | |
//Tell the validator, for example, | |
// that we want numbers parsed a certain way! |
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
from TikTokApi import TikTokApi | |
import random | |
import string | |
proxy = "some_cool" | |
api = TikTokApi.get_instance(use_test_endpoints=True) | |
did = ''.join(random.choice(string.digits) for num in range(19)) | |
count = 500 |
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
<rewrite> | |
<rewriteMaps configSource="rewritemaps.config" /> | |
<rules> | |
<rule name="Redirect Rule" stopProcessing="true"> | |
<match url=".*" ignoreCase="false" /> | |
<conditions> | |
<add input="{StaticRedirects:{URL}}" pattern="(.+)" /> | |
</conditions> | |
<action type="Redirect" url="{C:1}" appendQueryString="false" redirectType="Permanent" /> | |
</rule> |
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
RED="$(tput setaf 1 2>/dev/null || echo '')" | |
GREEN="$(tput setaf 2 2>/dev/null || echo '')" | |
YELLOW="$(tput setaf 3 2>/dev/null || echo '')" | |
NO_COLOR="$(tput sgr0 2>/dev/null || echo '')" | |
function __ps1_bgl { | |
eval "$(cat /mnt/c/Users/scott/.bgl-cache)" | |
local trend="?" | |
case "${nightscout_trend}" in |
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
using System.Collections.Generic; | |
namespace FibonacciTest | |
{ | |
public static class FibonacciGenerator | |
{ | |
public static IEnumerable<int> Fibonacci() | |
{ | |
int current = 1, next = 1; | |
while (true) |
OlderNewer