Skip to content

Instantly share code, notes, and snippets.

View Potential Maintainers
Maintainers:
vrthra: python38Packages.pytimeparse, python27Packages.pytimeparse, python27Packages.pytimeparse, python38Packages.pytimeparse, python38Packages.pytimeparse, python38Packages.pytimeparse, python27Packages.pytimeparse, python27Packages.pytimeparse, python37Packages.pytimeparse, python37Packages.pytimeparse, python37Packages.pytimeparse, python37Packages.pytimeparse
View Changed Paths
aarch64-linux python27Packages.agate
x86_64-darwin python27Packages.agate
aarch64-linux python27Packages.agate-sql
x86_64-linux python37Packages.agate-excel
x86_64-linux python27Packages.agate-dbf
x86_64-linux python38Packages.agate-sql
i686-linux python38Packages.pytimeparse
i686-linux python37Packages.agate-sql
x86_64-darwin python27Packages.pytimeparse
i686-linux python38Packages.agate-excel
View readcsv-readline.js
const fs = require('fs');
const readline = require('readline');
const parseline = require('./parseline');
const rs = fs.createReadStream('allCountries.txt');
const rl = readline.createInterface({ input: rs });
(async () => {
console.time(__filename);
for await (const line of rl) {
@jgruberf5
jgruberf5 / build_ibmcloud_tmos_images.sh
Created Jul 9, 2020
Workflow to Build IBM VPC Custom Images from F5 TMOS VE Images
View build_ibmcloud_tmos_images.sh
#!/bin/bash
export TMOS_IMAGE_DIR='/data/F5Download/BIGIP-TEST'
export ICONTROLLX_RPMS_DIR='/data/iControlLXLatestBuild'
# create some object naming
export COS_RESOURCE_NAME='custom-tmos-images'
export UUID=$(uuid | tr -d '-' | fold -w 8 | head -n 1)
export COS_BUCKET_PREFIX="c$UUID"
export COS_IMAGE_LOCATION='us-south'
View fasd_fzf.zsh
function fasd_fzf_file () {
fasd -f | fzf --tac --reverse --height=25% | awk '{print $2}'
}
function fasd_fzf_dir () {
fasd - d | fzf --tac --reverse --height=25% | awk '{print $2}'
}
alias v='vim $(fasd_fzf_file)'
alias d='cd $(fasd_fzf_dir)'
View FlowTradersQuiz.java
/**
* Imagine a simple cardgame. 52 cards in a deck, with 4 cards for each value.
* The cards are thoroughly shuffled. Each card has equal probability of being selected.
* You and the dealer each pick a card.
* If you have a larger number, you win. If the numbers are equal of yours is smaller, the dealer wins.
* What is your probability of winning?
*/
class FlowTradersQuiz {
private static final int deckSize = 52;
private static final int pickTimes = 10_000_000;
@Kiruthika13
Kiruthika13 / PY0101EN-2-2-Lists.ipynb
Created Jul 9, 2020
Created on Skills Network Labs
View PY0101EN-2-2-Lists.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View registerByEmail.kt
val emailUser = EmailUser.Builder().setEmail("your email").setVerifyCode("verify code").setPassword("password")
// Optional. If this parameter is set, the current user has created a password and can use the password to sign in.
// If this parameter is not set, the user can only sign in using a verification code.
.build()
AGConnectAuth.getInstance().createUser(emailUser)
.addOnSuccessListener {
// After an account is created, the user is signed in by default.
val user = it.user
Toast.makeText(this, user.uid, Toast.LENGTH_LONG).show()
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created Jul 9, 2020
fileassassin v1.06 - Passed - Package Tests Results
View 1.RegistrySnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Nsis" displayName="FileASSASSIN" displayVersion="1.06">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileASSASSIN</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files (x86)\FileASSASSIN\uninst.exe]]></UninstallString>
View settings.json
{
"terminal.integrated.rendererType": "dom",
"emmet.includeLanguages": {
"erb": "html",
"ruby": "html",
"html.erb": "html",
"javascript": "javascriptreact",
"marko": "html"
},
"emmet.triggerExpansionOnTab": true,
You can’t perform that action at this time.