Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#Kata with Up1 - Agile Thailand 2014 @ Eng CU | |
#Sat 7 June 2014 | |
class FizzBuzzFactory(): | |
def crete(self): | |
rules = [FizzBuzzBangRule(), BuzzBangRule(), FizzBangRule(), FizzBuzzRule(), | |
BangRule, BuzzRule(),FizzRule(),NormalRule()] | |
return FizzBuzz(rules) | |
class FizzBuzz(): |
#!/bin/bash | |
USER="YOUR-PASSPORT-ID" | |
PASSWD="YOUR-PASSPORT-PASSWORD" | |
COOKIES="cookies.txt" | |
/usr/bin/curl \ | |
--connect-timeout 10 \ | |
--max-time 10 \ | |
-s -k \ |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
/* | |
* Legit auto pop by Noxturnix | |
* Version 0.3 | |
* | |
* How to use: | |
* 1. Go to https://popcat.click/ | |
* 2. Press F12 | |
* 3. Go to "Console" tab | |
* 4. Ignore the warning. There's no such malicious codes in this script. You can try to understand the code if you want | |
* 5. Copy and paste this script |
#!/usr/bin/env node | |
var fs = require('fs'), | |
https = require('https'); | |
// We pass our client key & cert to the http agent, | |
// which we then use to make the request. | |
var agentOptions = { | |
key: fs.readFileSync('client.key'), | |
cert: fs.readFileSync('client.crt'), |
Create a new repository, or reuse an existing one.
Generate a new SSH key:
ssh-keygen -t rsa -C "your_email@example.com"
Copy the contents of the file ~/.ssh/id_rsa.pub
to your SSH keys in your GitHub account settings (https://github.com/settings/keys).
Test SSH key:
#!/usr/bin/env node_modules/.bin/vite-node --watch | |
// `vite-node` HMR handler for servers. | |
type TeardownCallback = () => Promise<void>; | |
type Listener = () => TeardownCallback; | |
declare global { | |
// eslint-disable-next-line no-var | |
var __HMR__: { | |
listeners: ReadonlyArray<Listener>; |
Param( | |
[Parameter(Mandatory=$true)] | |
# ID for the Azure subscription containing the App Service | |
[string]$SubscriptionId, | |
[Parameter(Mandatory=$true)] | |
# Name of the App Service on which the restart should be performed | |
[string]$AppServiceName, | |
[Parameter(Mandatory=$false)] | |
# Seconds between each instance restart, defaults to 30 | |
[int]$SecondsBetweenRestarts = 30 |