entity | entity |
---|---|
1 | - |
0 or 1 | -o| |
one and only 1 | -|| |
many | -{ |
0 or many | -o{ |
1 or many | -|{ |
Discover gists
- First, you need to open cmd in the admin mode, then run all commands below one by one.
- For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16
- Q 118 Frames
- E 37 Frames
- Assuming both parts of E apply pyro and don't share ICD
- NAs Hitmarks (without hitlag): 10, 13, 16, 23/34, 13, 39
- NA to next NA frames: 23, 20, 32, 47, 24, 79
- CA Hitmark 34 Frames
- CA 59 Frames
- Bond of Life consumption is 0.925 * Current Bond of Life
- Burst absorbs directives, deals damage, then heals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding=utf-8 -*- | |
import requests | |
import re | |
import sys | |
reload(sys) | |
sys.setdefaultencoding('utf8') | |
signin='http://v2ex.com/signin' | |
home='http://v2ex.com' |
Use case: You have repository A with remote location rA, and repository B (which may or may not have remote location rB). You want to do one of two things:
- preserve all commits of both repositories, but replace everything from A with the contents of B, and use rA as your remote location
- actually combine the two repositories, as if they are two branches that you want to merge, using rA as the remote location
NB: Check out git subtree
/git submodule
and this Stack Overflow question before going through the steps below. This gist is just a record of how I solved this problem on my own one day.
Before starting, make sure your local and remote repositories are up-to-date with all changes you need. The following steps use the general idea of changing the remote origin and renaming the local master branch of one of the repos in order to combine the two master branches.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _UNICODE | |
#define UNICODE | |
#include <windows.h> | |
#ifdef __cplusplus | |
#include <cstdio> | |
#else | |
#include <stdio.h> | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
// A playground to see different ways to get environment variables in Swift | |
// Foundation is the easiest way using the awesome ProcessInfo class. | |
// Get all of the environment variables for your running process in a Dictionary. | |
let foundationEnv = ProcessInfo().environment | |
print("********** ProcessInfo Environment **********") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
SEARCH="RemCom" | |
REPLACE=`cat /dev/urandom | tr -dc '[:alpha:]' | fold -w 8 | head -n 1` | |
git clone -q https://github.com/kavika13/RemCom RemComObf | |
find RemComObf -type f -exec sed -i -e "s/${SEARCH}/${REPLACE}/g" {} \; | |
sed -i "s/A service Cannot be started directly./Nothing's here.../g" RemComObf/RemComSvc/Service.cpp |
NewerOlder