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
print("hello world") |
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
print("code demo") |
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-once | |
#include <String.au3> | |
; Config-section | |
Global $BvSsh_path = @ScriptDir & "\Bitvise" ; path to Bitvise | |
Global $BvSsh_listenInterface = "0.0.0.0" ; or 127.0.0.1 | |
Global $BvSsh_listenPort = 1080 ; or 8080 | |
Global $BvSsh_timeOut = 10 ; or 30 (seconds) | |
Global $BvSsh_hideAll = False ; True/False - Hide All Bitvise GUI | |
Global $BvSsh_pID |
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
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_UseUpx=y | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#NoTrayIcon | |
#include <Misc.au3> | |
_Singleton(@ScriptName) | |
While True | |
If WinExists("Host Key Verification") Then |
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
javascript:var style=document.createElement('style');style.type='text/css';style.innerHTML='.j2_down,.j2_up{cursor:pointer;line-height:0;font-weight:700}.j2_down,.j2_show_text,.j2_up{font-weight:700}.j2team{overflow: hidden;width:137px;border:1px solid #000;height:42px;border-radius:5px;position:fixed;z-index:9999;bottom:10px;left:10px;background-color:#64B448;color:#fff}.j2_down,.j2_show{width:42px;height:40px;display:inline-block;float:left;text-align:center;width:45px;overflow:hidden;}.j2_down{font-size:40px;padding-top:17px}.j2_show{padding-top:0;padding-bottom:0;}.j2_show_text{width:44px;height:100%;font-size:20px;text-align:center;background-color:#fff;color:#000;}.j2_up{width:42px;height:40px;display:inline-block;float:left;text-align:center;font-size:40px;padding-top:18px}';document.getElementsByTagName('head')[0].appendChild(style);document.getElementsByTagName('body')[0].appendChild(setInnerHTML(document.createElement("div"),'<div class="j2team"> <div class="j2_down" onclick="down()"> - </div><div c |
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 time | |
import subprocess | |
id_device='emulator-5554' | |
def adb_click(coord_x,coord_y): | |
adb_command='adb -s %s shell input tap %s %s'%(id_device,coord_x,coord_y) | |
subprocess.call(adb_command) | |
def adb_send_text(text): | |
adb_command='adb -s %s shell input text %s'%(id_device,text) |
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
dim $nm1[143] = ["An","Uc","Uat","Dam","Dao","Dinh","Doan","An","Banh","Bach","Cao","Chau","Chu","Chu","Chung","Duu","Diep","Doan","Giang","Ha","Han","Kieu","Kim","Lam","Luong","Luu","Lac","Luc","La","Lieu","Ma","Mac","Mach","Mai","Ngu","Nghiem","Phi","Pho","Phung","Quach","Quang","Quyen","To","Ton","Ta","Tong","Thai","Sai","Than","Thach","Thao","Thuy","Thi","Tieu","Truong","Tram","Trinh","Trang","Trieu","Van","Vinh","Vuong","Vuu","Nguyen","Tran","Le","Pham","Huynh","Hoang","Phan","Vu","Vo","Dang","Bui","Do","Ho","Ngo","Duong","Ly","Nguyen","Tran","Le","Pham","Huynh","Hoang","Phan","Vu","Vo","Dang","Bui","Do","Ho","Ngo","Duong","Ly","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Nguyen","Tran","Le","Pham","Huynh","Hoang","Phan","Vu","Vo","Dang","Bui","Do","Ho","Ngo","Duong","Ly","Nguyen","Tran","Le","Pham","Huynh","Hoang","Phan","Vu","Vo","Dang","Bui","Do","Ho","Ngo","Duong","Ly"]; | |
dim $nm2[243] = ["Bao An","Binh |
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<Array.au3> | |
;~ #include<utils.au3> | |
#include<_HttpRequest.au3> | |
$add='Referer: http://simthue.com/vi/request/index' | |
$add&='|User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36' | |
$add&='X-Requested-With: XMLHttpRequest' | |
;~ ;cookie of account in web simthue |
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/local/cuda-10.2/bin/nvcc test_quantum_parallel_16_16_16_block.cu -arch=sm_75 | |
#include <stdio.h> | |
#include <time.h> | |
#include<math.h> | |
void random_array(int len, double *x){ | |
for(int i=0;i<len;i++){ | |
x[i]=rand(); | |
} | |
} | |
void load_matrix_from_file(FILE * file, int nb_rows,int nb_cols, double* mat){ |
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
!/opt/pgi/linux86-64/19.10/bin/pgfortran -ta=tesla:cc75,host -Minfo test_quantum_basic.f95 | |
program main | |
double precision, dimension(1000,1000):: C,B | |
double precision, dimension(1000) :: E | |
double precision :: total | |
integer:: n_loop,r,s,q | |
integer:: t1,t2,count_rate,count_max | |
n_loop=1000 | |
call random_number(C) |
OlderNewer