Verifying myself: I am seia on Keybase.io. 2e_kN_5arklOtYVrp4XLjNEjzrYqfHfXQEif / https://keybase.io/seia/sigs/2e_kN_5arklOtYVrp4XLjNEjzrYqfHfXQEif
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
delete require.cache[require.resolve('./*')] |
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
String.prototype.bind = function (parameters) { | |
let text = this | |
const keys = text.match(/\{(.*?)\}/g) | |
if (!keys) return this | |
for (let i = 0; i < keys.length; i++) { | |
const keyname = keys[i].replace('{', '').replace('}', '') | |
text = text.replace(keys[i], parameters[keyname] || '') |
I hereby claim:
- I am seia-soto on github.
- I am seia (https://keybase.io/seia) on keybase.
- I have a public key ASBSNW3VrYjlXMupZf35raLjbV87lWJqUum-myYZUsBAGgo
To claim this, I am signing this object:
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
curl -LO https://github.com/sbingner/llvm-project/releases/download/v10.0.0-1/linux-ios-arm64e-clang-toolchain.tar.lzma | |
TMP=$(mktemp -d) | |
tar --lzma -xvf linux-ios-arm64e-clang-toolchain.tar.lzma -C $TMP | |
pushd $TMP/ios-arm64e-clang-toolchain/bin | |
find * ! -name clang-10 -and ! -name ldid -and ! -name ld64 -exec mv {} arm64-apple-darwin14-{} \; | |
find * -xtype l -exec sh -c "readlink {} | xargs -I{LINK} ln -f -s arm64-apple-darwin14-{LINK} {}" \; | |
popd | |
mkdir -p $THEOS/toolchain/linux/iphone | |
mv $TMP/ios-arm64e-clang-toolchain/* $THEOS/toolchain/linux/iphone/ | |
rm -rf $TMP linux-ios-arm64e-clang-toolchain.tar.lzma |
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
find . -name 'arm*' -exec bash -c ' ln -s $0 ${0/arm64\-apple\-darwin14\-}' {} \; |
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 sh | |
echo -e "[$(date)] - <alpinelinux> sync is about to start" >> /_seia/projects/mirror/log | |
# make sure we never run 2 rsync at the same time | |
lockfile="/tmp/alpine-mirror.lock" | |
if [ -z "$flock" ] ; then | |
exec env flock=1 flock -n $lockfile "$0" "$@" | |
echo -e "[$(date)] - <alpinelinux> stopped the sync because there is lockfile" >> /_seia/projects/mirror/log | |
fi |
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
@echo off | |
goto init | |
:init | |
cls | |
echo NetClass v8 Client manager | |
echo. |
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
#include <stdio.h> | |
int main() { | |
char gender; | |
float tall; | |
float weight; | |
printf("성별을 입력하세요: [f/m] "); | |
scanf("%c", &gender); |
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
#!/bin/zsh | |
domain= | |
function test_dns() { | |
echo "" | |
echo "Testing on $1" | |
result=$(dig @$1 $domain) |
OlderNewer