Discover gists
A complete gdb to lldb command map.
- Print object
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
- p - Print primitive type
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 json | |
import os | |
import time | |
import webbrowser | |
import sys | |
import re | |
def handleWindows(extra_seconds): | |
print("OS : Windows") |
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
Команды в Git Bash консоли | |
clear — Очистить консоль | |
Навигация | |
pwd — Показать текущий каталог | |
ls - Показать файлы в данной папке, кроме скрытых | |
ls -f — Показать файлы в данной папке, включая и скрытые | |
cd c:/ — Перейти в конкретный каталог | |
cd - — Вернуться назад | |
cd .. — Выйти на 1 уровень вверх |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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/python3 | |
# Exploit Title: fuelCMS 1.4.1 - Remote Code Execution | |
# Date: 2019-07-19 | |
# Exploit Author: 0xd0ff9 | |
# Vendor Homepage: https://www.getfuelcms.com/ | |
# Software Link: https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.1 | |
# Version: <= 1.4.1 | |
# Tested on: Ubuntu - Apache2 - php5 | |
# CVE : CVE-2018-16763 |
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
// Author: SwiftUI-Lab (www.swiftui-lab.com) | |
// Description: This code is part of the "Advanced SwiftUI Animations - Part 5" | |
// Article: https://swiftui-lab.com/swiftui-animations-part5/ | |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
ClockView() | |
.background(.gray) |
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
""" | |
1. First checkout the trl branch: | |
git clone https://github.com/huggingface/trl.git | |
git checkout debug-dpo | |
2. Install deps with: | |
make dev |
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
// Author: SwiftUI-Lab (www.swiftui-lab.com) | |
// Description: This code is part of the "Advanced SwiftUI Animations - Part 5" | |
// Article: https://swiftui-lab.com/swiftui-animations-part5/ | |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
DigitalRain() | |
} |
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
34.95.57.145 [加拿大 魁北克省蒙特利尔 Google 云计算数据中心] | |
13.49.54.242 [瑞典 斯德哥尔摩 Amazon 数据中心] | |
18.178.194.147 [日本 东京都东京 Amazon 数据中心] | |
52.79.72.148 [韩国 首尔 Amazon 数据中心] | |
35.180.16.12 [法国 巴黎 Amazon 数据中心] | |
18.206.69.11 [美国 弗吉尼亚州阿什本 Amazon 数据中心] | |
52.76.85.65 [新加坡 Amazon 数据中心] | |
18.130.52.74 [英国 伦敦 Amazon 数据中心] | |
35.202.100.12 [美国 Merit 网络公司] | |
35.195.188.93 [比利时 瓦隆大区圣吉斯兰 Google 云计算数据中心] |
NewerOlder