Skip to content

Instantly share code, notes, and snippets.

View scrollbar.css
#imgViewer::-webkit-scrollbar {
-webkit-appearance: none;
height: 10px;
}
#imgViewer::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: rgba(0,0,0,.5);
box-shadow: 0 0 1px rgba(255,255,255,.5);
}
View SplitContains.cs
private static bool SplitContains(string values, string value)
{
int position = 0;
foreach (var c in values)
{
if (c == ',')
{
if (position == value.Length)
return true;
else
@Discord-AppBot
Discord-AppBot / answer.md
Created Feb 18, 2020
AppBot - a Discord bot made for staff application management within Discord.
View answer.md

Application List

### iiDeputyLawEnforcement#9206


ID: 666399310174355467

Mention: <@!666399310174355467>

Submitted Applications: NHS

@import-yuefeng
import-yuefeng / πŸ“Š Weekly development breakdown
Last active Feb 18, 2020
πŸ“Š Weekly development breakdown
View πŸ“Š Weekly development breakdown
Other 4 hrs 43 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 46.5%
Go 3 hrs 48 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 37.5%
Python 1 hr 37 mins β–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 15.9%
@codediodeio
codediodeio / database.rules.json
Last active Feb 18, 2020
Common Database Rules for Firebase
View database.rules.json
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@dartov
dartov / User-Data
Last active Feb 18, 2020
User-Data
View User-Data
#include
https://gist.githubusercontent.com/dartov/0d5bda40f64320c9f78340d6f7817416/raw/cf94888dc2b6e3e4a42999acc62810b1fefcdabe/cloud-init
https://gist.githubusercontent.com/dartov/0d5bda40f64320c9f78340d6f7817416/raw/cf94888dc2b6e3e4a42999acc62810b1fefcdabe/cloud_setup.sh
View untrusted-lvl3-solution.js
/************************
* validationEngaged.js *
************************
*
* They're really on to us now! The validateLevel function
* has been activated to enforce constraints on what you can
* do. In this case, you're not allowed to remove any blocks.
*
* They're doing all they can to keep you here. But you
* can still outsmart them.
@wongk
wongk / build.gradle.kts
Created Feb 18, 2020
KMP publishing - target configuration
View build.gradle.kts
kotlin {
android {
publishAllLibraryVariants()
}
iosX64("ios") {
mavenPublication {
artifactId = "${project.name}-iosx64"
}
}
iosArm64 {
View ChemTech Survey Code
<!-- Bootstrap v3.0.3 -->
<link href="https://s3.amazonaws.com/mturk-public/bs30/css/bootstrap.min.css" rel="stylesheet" />
<section class="container" id="Survey" style="margin-bottom:15px; padding: 10px 10px; font-family: Verdana, Geneva, sans-serif; color:#333333; font-size:0.9em;">
<div class="row col-xs-12 col-md-12"><!-- Instructions -->
<div class="panel panel-primary">
<div class="panel-heading"><strong>Instructions</strong></div>
<div class="panel-body">
<p><strong><span style="color:#FF0000;">This survey should be taken if you have a small business and you&nbsp;are an owner of the company. Please make a selection for value offering that best resonates with and provide a detailed description of how you understood it or/and provide recommendations on what to improve.</span></strong></p>
</div>
View keysendprobing.go
package main
import (
"context"
"crypto/rand"
"encoding/hex"
"errors"
"flag"
"fmt"
"github.com/lightningnetwork/lnd/lnrpc"
You can’t perform that action at this time.