-
图形学教程
-
用户界面设计
-
字体
自从有了gist这个牛逼的站点,可以在上面用MarkDown快速结构化做笔记,并且带有版本化(你可以查看和回滚到任何一个历史版本),我就开始条分缕析的为每个学科整理相关笔记,并随时压缩和整理。本贴用于记录关于笔记的笔记。
This file contains hidden or 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
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
- Reverse a String – Enter a string and the program will reverse it and print it out.
- Pig Latin – Pig Latin is a game of alterations played on the English language game. To create the Pig Latin form of an English word the initial consonant sound is transposed to the end of the word and an ay is affixed (Ex.: "banana" would yield anana-bay). Read Wikipedia for more information on rules.
- Count Vowels – Enter a string and the program counts the number of vowels in the text. For added complexity have it report a sum of each vowel found.
- Check if Palindrome – Checks if the string entered by the user is a palindrome. That is that it reads the same forwards as backwards like “racecar”
- Count Words in a String – Counts the number of individual words in a string. For added complexity read these strings in from a text file and generate a summary.
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
This file contains hidden or 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
| // This script is meant to import Google Maps starred places into | |
| // another Google account. | |
| // Given a geoJSON file of Google Maps starred places (places.json) | |
| // exported by Google takeout (account backup) this script should | |
| // open each place URL and manually click save. | |
| // Upon first run, it's best to stop it and manually login to your | |
| // Google account otherwise you'll run into a non-verified device | |
| // issue. Run again and it should continue through with problems. |
This file contains hidden or 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 | |
| ## | |
| ## PoC test for the XXE security vulnerability CVE-2018-10653 in XenMobile Server 10.8 before RP2 and 10.7 before RP3 | |
| ## | |
| ## This PoC was written by Jonas Lejon 2019-11-28 <[email protected]> https://triop.se | |
| ## Reported to Citrix 2017-10, patch released 2018-05 | |
| ## | |
| import requests | |
| import sys |
This file contains hidden or 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
| # AFF | |
| # 如果你想支持我,可以通过我的邀请链接购买机场 | |
| # 感谢支持 | |
| # 1. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH | |
| # 2. 一元机场 邀请码: r3f1duds https://xn--4gq62f52gdss.top/#/register?code=r3f1duds | |
| # 一定要填我的邀请码,不填我哭给你看😭 | |
| # mihomo (Clash Meta) 懒人配置 | |
| # 版本 V1.23-251221 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.