Skip to content

Instantly share code, notes, and snippets.

View soopyc's full-sized avatar
:electron:
remember atom

soopyc

:electron:
remember atom
  • Hong Kong
  • 21:29 (UTC +08:00)
View GitHub Profile
# bad: [5b99c823ef95ba5c642ae105815d5acd4f093aa3] Mark official release
# good: [44fb1192185cdd03343da7faa08a1c605f773419] Mark official release
git bisect start '2.19.0' '2.18.0'
# good: [d40e91440d53a982b8c72b176c14f2a39c3e04d1] Merge pull request #9002 from NixOS/release-notes
git bisect good d40e91440d53a982b8c72b176c14f2a39c3e04d1
# good: [e824ab30cff5bbe25f4095a0a3819ccc787cba98] Merge pull request #9195 from edolstra/remove-hasAllInfo
git bisect good e824ab30cff5bbe25f4095a0a3819ccc787cba98
# bad: [66cb364f581486e0c426b35149ac13d19f7842bc] Merge pull request #9289 from edolstra/fix-warnings
git bisect bad 66cb364f581486e0c426b35149ac13d19f7842bc
# bad: [15c430f38971c2f852effec22392cbe1da511aec] Remove unused LockFile::write()
#!/usr/bin/env python3
# Maintainer: soopyc (@[email protected])
# SPDX-License-Identifier: CC0-1.0
a = []
b = []
for color in range(40, 48):
a.append(f"\x1b[{color}m {color} ")
for color in range(100, 108):
b.append(f"\x1b[{color}m {color} ")

Keybase proof

I hereby claim:

  • I am soopyc on github.
  • I am kcomain (https://keybase.io/kcomain) on keybase.
  • I have a public key whose fingerprint is 7595 B36D F6C2 E95E 10E5 2866 2932 BA0F A3DD D7D6

To claim this, I am signing this object:

@soopyc
soopyc / keybase.md
Last active September 27, 2022 10:17
Keybase verification
@soopyc
soopyc / keybase.old.md
Last active November 7, 2021 09:54
Keybase verification (outdated)

outdated. see keybase.md for more details

@soopyc
soopyc / gist:21a0e27462ee1d0dbc57c3e9ceebdadb
Created May 25, 2019 13:32 — forked from solenoid/gist:1372386
javascript ObjectId generator
var mongoObjectId = function () {
var timestamp = (new Date().getTime() / 1000 | 0).toString(16);
return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() {
return (Math.random() * 16 | 0).toString(16);
}).toLowerCase();
};
@soopyc
soopyc / index.html
Last active March 7, 2019 08:42
Hangman// source https://jsbin.com/mavito // original author Kenny Cheung, Steve Munro, PLKSHS ICT team
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Hangman</title>
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Hangman</title>
<style id="jsbin-css">
* {
font-family: "Courier New";
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Hangman</title>
<style id="jsbin-css">
* {
font-family: "Courier New";