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
| ' Visual Basic Script program to reset the DMA status of all ATA drives | |
| ' Copyright © 2006 Hans-Georg Michna | |
| ' Version 2006-03-14 | |
| ' Works in Windows XP, probably also in Windows 2000 and NT. | |
| ' Does no harm if Windows version is incompatible. | |
| If MsgBox("This program will now reset the DMA status of all ATA drives with Windows drivers." _ |
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
| from itertools import product, permutations | |
| """ | |
| if __name__ == '__main__': | |
| for expr in generateOperators([2,3,4], ['+','-']): | |
| print(expr) | |
| """ | |
| def alternateBetween(items, operators): | |
| lenItems = len(items) |
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 React from "https://esm.sh/react@17.0.2"; | |
| const App = () => { | |
| return ( | |
| <h1>Hello Deno Land!</h1> | |
| ); | |
| }; | |
| export default App; |
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
| [wsl2] | |
| kernel=C:\\Users\\Karthik\\WSL2\\vmlinux-5.4.91-microsoft-release | |
| swap=0 | |
| localhostForwarding=true |
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
| //p2j: Parquet to JSON | |
| package main | |
| import ( | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| log "github.com/sirupsen/logrus" | |
| "os" |
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
| #!/bin/sh | |
| # Usage: jar-verify FILE-OR-DIR-TO-VERIFY | |
| # | |
| # Histogram: ./jar-verify test.jar | cut -d: -f 2 | uniq -c | sort -rn | |
| which which 2>&1 >/dev/null || { echo "Ensure Which is Installed."; exit 1; } | |
| which file 2>&1 >/dev/null || { echo "Ensure File Type Detector - file is Installed."; exit 1; } | |
| which unzip 2>&1 >/dev/null || { echo "Ensure Unzip is Installed."; exit 1; } | |
| [ -z "$TMPDIR " ] && { TMPDIR=/tmp; echo "Temporary Directory is now: $TMPDIR"; } |
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
| #!/bin/sh | |
| exec ./gradlew build \ | |
| -x :logstash-core:javaTests \ | |
| -x :logstash-core:rubyTests \ | |
| -x logstash-integration-tests:integrationTests \ | |
| -x benchmark-cli:test \ | |
| "$@" |
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
| //Centralized password authentication server. | |
| //Written by clever kid. | |
| #include <netlib.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <time.h> | |
| #define PASSFILE "password.txt" |
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
| --- kdelibs-3.5.7/kioslave/http/http.cc 2007-05-14 13:22:34.000000000 +0530 | |
| +++ kdelibs-3.5.7/kioslave/http/http.cc 2007-08-03 03:44:27.000000000 +0530 | |
| @@ -2048,13 +2048,19 @@ | |
| kdDebug(7113) << "(" << m_pid << ") HTTPProtocol::httpOpenConnection" << endl; | |
| setBlockConnection( true ); | |
| - // kio_http uses its own proxying: | |
| - KSocks::self()->disableSocks(); | |
| if ( m_state.doProxy ) |
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 <stdio.h> | |
| #include <string.h> | |
| void usage(char* progname) { | |
| fprintf(stderr, "%s pattern [files]\n", progname); | |
| } | |
| void search(char* pattern, FILE* in, char* prefix) { | |
| int c; | |
| unsigned long long offset = 0; |