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
using Microsoft.Office.Interop.Excel; | |
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
namespace excelinterop | |
{ | |
class Program | |
{ |
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 main | |
import ( | |
"syscall" | |
"fmt" | |
) | |
func main() { | |
disk := "\\\\.\\C:" |
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 main | |
import( b64 "encoding/base64" | |
"fmt" | |
"log" | |
"flag" | |
"io/ioutil" | |
) | |
func main() { |
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 main | |
import ( | |
"compress/gzip" | |
"io" | |
"log" | |
"os" | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" |
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 <iostream> | |
#include <windows.h> | |
#include <psapi.h> | |
using namespace std; | |
int main() | |
{ | |
DWORD pProcessIds[500]; |
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
int main() | |
{ | |
SOCKET sock; | |
sockaddr_in target; | |
unsigned long addr; | |
WSADATA wsaData; | |
WSAStartup(MAKEWORD(2,0),&wsaData); | |
target.sin_family = AF_INET; | |
target.sin_port = htons(80); |
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
/////// START - DO NOT EDIT | |
var {classes: Cc, interfaces: Ci, results: Cr, Constructor: CC, utils: Cu} = Components; | |
Cu.import('resource://gre/modules/Services.jsm'); | |
var BinaryInputStream = CC('@mozilla.org/binaryinputstream;1', 'nsIBinaryInputStream', 'setInputStream'); | |
var BinaryOutputStream = CC('@mozilla.org/binaryoutputstream;1', 'nsIBinaryOutputStream', 'setOutputStream'); | |
var StorageStream = CC('@mozilla.org/storagestream;1', 'nsIStorageStream', 'init'); | |
function TracingListener() { | |
this.receivedChunks = []; // array for incoming data. holds chunks as they come, onStopRequest we join these junks to get the full source |
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 main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"mime/multipart" | |
"net/http" | |
) |
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
var webserver = require('webserver'); | |
var webPage = require('webpage'); | |
var server = webserver.create(); | |
var service = server.listen(8080, function(request, response) { | |
response.statusCode = 200; | |
var page = webPage.create(); | |
var q = queriesFromUrl(request.url) | |
if(q.url==null) | |
response.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 main | |
import ( | |
"fmt" | |
"github.com/HouzuoGuo/tiedot/db" | |
"github.com/gin-gonic/gin" | |
) | |
func main() { |