Skip to content

Instantly share code, notes, and snippets.

@jorgespinoza
jorgespinoza / Loops.ipynb
Created Jul 29, 2020
Created on Skills Network Labs
View Loops.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yoheeeei
yoheeeei / generate-uuid.go
Created Jul 29, 2020
Generate a UUID for Golang
View generate-uuid.go
package main
import (
"fmt"
"github.com/google/uuid"
)
func main() {
u, err := uuid.NewRandom()
@piq9117
piq9117 / test.csv
Created Jul 29, 2020 — forked from suellenstringer-hye/test.csv
sample csv file
View test.csv
first_name last_name company_name address city county state zip phone1 phone2 email web
James Butt Benton, John B Jr 6649 N Blue Gum St New Orleans Orleans LA 70116 504-621-8927 504-845-1427 jbutt@gmail.com http://www.bentonjohnbjr.com
Josephine Darakjy Chanay, Jeffrey A Esq 4 B Blue Ridge Blvd Brighton Livingston MI 48116 810-292-9388 810-374-9840 josephine_darakjy@darakjy.org http://www.chanayjeffreyaesq.com
Art Venere Chemel, James L Cpa 8 W Cerritos Ave #54 Bridgeport Gloucester NJ 08014 856-636-8749 856-264-4130 art@venere.org http://www.chemeljameslcpa.com
Lenna Paprocki Feltz Printing Service 639 Main St Anchorage Anchorage AK 99501 907-385-4412 907-921-2010 lpaprocki@hotmail.com http://www.feltzprintingservice.com
Donette Foller Printing Dimensions 34 Center St Hamilton Butler OH 45011 513-570-1893 513-549-4561 donette.foller@cox.net http://www.printingdimensions.com
View FloatingViewController.swift
import UIKit
class FloatingButtonController: UIViewController {
private(set) var button: UIButton!
required init?(coder aDecoder: NSCoder) {
fatalError()
}
View openpanzer-save.json
{"scenario":{"name":"Advance to Agordat","maxTurns":30,"date":"1941-01-27T05:00:00.000Z","atmosferic":0,"latitude":0,"ground":0,"turnsPerDay":6,"dayTurn":0,"reinforcements":{"4":[{"row":1,"col":5,"unit":{"eqid":2611,"id":-1,"owner":0,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":5,"facing":1,"flag":23,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":17,"ammo":4,"fuel":0,"hasAnimation":false,"hits":0,"experience":195,"entrenchment":0,"entrenchTicks":0,"leader":-1},"turn":4,"id":1},{"row":13,"col":26,"unit":{"eqid":981,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":8,"facing":10,"flag":13,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":15,"ammo":8,"fuel":0,"hasAnimation":false,"h
View lookpin_problem.md

Ruby

  1. symbol과 string의 차이는 무엇인가요?
a = :something_symbol
=> 
a += "hello, world"
NoMethodError: undefined method `+' for :something_symbol:Symbol
a = :other_symbol
=> :other_symbol
View SpaceXApplication.kt
class SpaceXApplication: Application() {
override fun onCreate()
{
super.onCreate()
DaggerAppComponent.builder().application(this).build().inject(this)
}
}
View zip_epub.sh
# goto the folder
zip -X0 xxx.epub mimetype
zip -rDX9 xxx.epub * -x "*.DS_Store" -x mimetype
View SimpleHoldingsQuery.sql
SELECT c.*
FROM Holding AS c INNER JOIN Account AS a BY accountId
ON c.accountId = accountId
WHERE a.owner = 'u-suresh-kandula'
AND c.code = 'AAPL'
View keybase.md

Keybase proof

I hereby claim:

  • I am limpingstone on github.
  • I am limpingstone (https://keybase.io/limpingstone) on keybase.
  • I have a public key ASAialAW61WqcRXBWYQYLJQT6vCGcO9mjVIyKaDJOnkeuQo

To claim this, I am signing this object:

You can’t perform that action at this time.