root@ubuntu-shanghai:~/mtb# git clone git@github.com:wecodebolivia/adamsubmoduleupdate.git -b staging --recursive
Cloning into 'adamsubmoduleupdate'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (7/7), done.
Submodule 'mashirozx/odoo_mrp_sale_info' (git@github.com:mashirozx/odoo_mrp_sale_info.git) registered for path 'mashirozx/odoo_mrp_sale_info'
Cloning into '/root/mtb/adamsubmoduleupdate/mashirozx/odoo_mrp_sale_info'...
View Microsoft.PowerShell_profile.ps1
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-Module posh-git | |
Import-Module oh-my-posh | |
# Set-PoshPrompt -Theme Aliens | |
Set-PoshPrompt -Theme jandedobbeleer | |
Set-PSReadLineOption -PredictionSource History # 设置预测文本来源为历史记录 | |
Set-PSReadlineKeyHandler -Key Tab -Function Complete # 设置 Tab 键补全 | |
Set-PSReadLineKeyHandler -Key "Ctrl+d" -Function MenuComplete # 设置 Ctrl+d 为菜单补全和 Intellisense |
View .zshrc
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
host_ip=$(cat /etc/resolv.conf |grep "nameserver" |cut -f 2 -d " ") | |
export ALL_PROXY="http://$host_ip:7890" | |
sed -i -E "s/((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\:7890/$host_ip:7890/" ~/.ssh/config |
View _polyfill.scss
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
@use 'sass:math'; | |
@mixin _flex-gap($gap, $row: true) { | |
$margin: math.div($gap, 2); | |
$transform: -$margin; | |
@if $row { | |
margin-left: $transform; | |
margin-right: $transform; | |
} @else { | |
margin-top: $transform; | |
margin-bottom: $transform; |
View main.go
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"os" | |
"strings" | |
"time" | |
"github.com/go-redis/redis" |
View git submodule update.md
View keybase.md
Keybase proof
I hereby claim:
- I am mashirozx on github.
- I am mashirozx (https://keybase.io/mashirozx) on keybase.
- I have a public key ASAJsnzD292NJQweJt4lH2wLwCDnkfIrE5rk1I5NcfDzngo
To claim this, I am signing this object:
View 内存溢出
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
10/25 13:36:14: Launching 'app' on Xiaomi MI NOTE LTE. | |
$ adb shell am start -n "ceui.lisa/ceui.lisa.activities.CoverActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D | |
Connecting to ceui.lisa | |
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. | |
W/ActivityThread: Application ceui.lisa is waiting for the debugger on port 8100... | |
I/System.out: Sending WAIT chunk | |
I/art: Debugger is active | |
I/System.out: Debugger has connected | |
waiting for debugger to settle... |
View gitstars.json
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
{"tags":[],"lastModified":1518004271313} |
View index.html
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
<style> | |
body { | |
background: #FFAFBD; | |
/* fallback for old browsers */ | |
background: -webkit-linear-gradient(to right, #ffc3a0, #FFAFBD); | |
/* Chrome 10-25, Safari 5.1-6 */ | |
background: linear-gradient(to right, #ffc3a0, #FFAFBD); | |
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ | |
} |
View json-api-crawler.py
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 requests | |
import pypyodbc | |
import json | |
import time | |
import random | |
import os | |
############## | |
# Parameters # | |
url = "https://example.com" |
NewerOlder