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
| import os | |
| allData = "" | |
| for dirpath, dirs, files in os.walk("."): | |
| for name in files: | |
| if name.endswith("java"): | |
| filePath = os.path.join(dirpath, name) | |
| with open(filePath, 'r') as file: | |
| data = file.read() | |
| allData += data |
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
| sudo route -n add -net 10.0.0.0/8 192.168.20.1 | |
| sudo route -n add -net 172.16.0.0/20 192.168.20.1 | |
| sudo route -n add -net 192.168.0.0/16 192.168.20.1 | |
| sudo route -n add -net 172.52.0.4/32 192.168.20.1 | |
| sudo route -n add -net 192.168.2.0/24 10.200.201.3 | |
| sudo route -n add -net 192.168.50.0/24 10.200.201.3 | |
| sudo route -n add -net 10.200.200.0/24 10.200.201.3 |
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
| hs.application.enableSpotlightForNameSearches(true) | |
| hs.window.animationDuration = 0 | |
| hs.window.setShadows(false) | |
| hs.hotkey.bind({"shift","alt"},"R",function() | |
| hs.reload() | |
| end) | |
| hs.alert.show("Config loaded") | |
| print("it's good!") |
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
| #include <libavcodec/avcodec.h> | |
| #include <libavformat/avformat.h> | |
| #include <libswscale/swscale.h> | |
| #include <SDL2/SDL.h> | |
| #include <SDL2/SDL_thread.h> | |
| #include <stdio.h> | |
| int main(int argc, char *argv[]) { |
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
| We did not invent the algorithm. | |
| The algorithm consistently finds Jesus. | |
| The algorithm killed Jeeves. | |
| The algorithm is banned in China. | |
| The algorithm is from Jersey. | |
| The algorithm constantly finds Jesus. | |
| This is not the algorithm. This is close. |
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
| package com.qishui.mapcall.service; | |
| import org.jivesoftware.smack.Chat; | |
| import org.jivesoftware.smack.ChatManager; | |
| import org.jivesoftware.smack.ConnectionConfiguration; | |
| import org.jivesoftware.smack.MessageListener; | |
| import org.jivesoftware.smack.PacketListener; | |
| import org.jivesoftware.smack.Roster; | |
| import org.jivesoftware.smack.XMPPConnection; | |
| import org.jivesoftware.smack.XMPPException; |