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
// All SMC temperature, voltage, current, and power keys | |
// Set up keys and human-readable names for keys | |
smcTempKeys = [[NSArray alloc] initWithObjects: @"TCXC", @"TCXc", @"TC0P", @"TC0H", @"TC0D", @"TC0E", @"TC0F", @"TC1C", @"TC2C", @"TC3C", @"TC4C", @"TC5C", @"TC6C", @"TC7C", @"TC8C", @"TCAH", @"TCAD", @"TC1P", @"TC1H", @"TC1D", @"TC1E", @"TC1F", @"TCBH", @"TCBD", @"TCSC", @"TCSc", @"TCSA", @"TCGC", @"TCGc", @"TG0P", @"TG0D", @"TG1D", @"TG0H", @"TG1H", @"Ts0S", @"TM0P", @"TM1P", @"TM8P", @"TM9P", @"TM0S", @"TM1S", @"TM8S", @"TM9S", @"TN0D", @"TN0P", @"TN1P", @"TN0C", @"TN0H", @"TP0D", @"TPCD", @"TP0P", @"TA0P", @"TA1P", @"Th0H", @"Th1H", @"Th2H", @"Tm0P", @"Tp0P", @"Ts0P", @"Tb0P", @"TL0P", @"TW0P", @"TH0P", @"TH1P", @"TH2P", @"TH3P", @"TO0P", @"Tp0P", @"Tp0C", @"TB0T", @"TB1T", @"TB2T", @"TB3T", @"Tp1P", @"Tp1C", @"Tp2P", @"Tp3P", @"Tp4P", @"Tp5P", @"TS0C", @"TA0S", @"TA1S", @"TA2S", @"TA3S", nil]; | |
smcVoltageKeys = [[NSArray alloc] initWithObjects:@"VC0C", @"VC1C", @"VC2C", @"VC3C", @"VC4C", @"VC5C", @" |
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
"2560x1080x59.98" 181.25 2560 2608 2640 2720 1080 1083 1087 1111 +HSync -VSync | |
e.g. | |
xrandr --newmode "2560x1080x59.98" 181.25 2560 2608 2640 2720 1080 1083 1087 1111 +HSync -VSync | |
xrandr --addmode HDMI-1 2560x1080x59.98 | |
xrandr --output HDMI-1 --mode 2560x1080x59.98 | |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ubuntu | |
labels: | |
app: ubuntu | |
spec: | |
containers: | |
- image: ubuntu | |
command: |
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
name=jdk1.7.0_80 | |
priority=1082 | |
section=main | |
hl rmid /usr/lib/jvm/jdk1.7.0_80/jre/bin/rmid | |
hl java /usr/lib/jvm/jdk1.7.0_80/jre/bin/java | |
hl keytool /usr/lib/jvm/jdk1.7.0_80/jre/bin/keytool | |
hl pack200 /usr/lib/jvm/jdk1.7.0_80/jre/bin/pack200 | |
hl rmiregistry /usr/lib/jvm/jdk1.7.0_80/jre/bin/rmiregistry | |
hl unpack200 /usr/lib/jvm/jdk1.7.0_80/jre/bin/unpack200 |
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 com.github.javaparser.ParseResult; | |
import com.github.javaparser.ParserConfiguration; | |
import com.github.javaparser.ast.CompilationUnit; | |
import com.github.javaparser.ast.body.VariableDeclarator; | |
import com.github.javaparser.ast.expr.MethodCallExpr; | |
import com.github.javaparser.ast.type.ClassOrInterfaceType; | |
import com.github.javaparser.resolution.UnsolvedSymbolException; | |
import com.github.javaparser.symbolsolver.JavaSymbolSolver; | |
import com.github.javaparser.symbolsolver.resolution.typesolvers.CombinedTypeSolver; |
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
MKDIR_P = mkdir -p | |
clean: | |
rm -rf /tmp/instahms | |
rm -rf /tmp/ui | |
directories: | |
${MKDIR_P} /tmp/instahms | |
${MKDIR_P} /tmp/ui |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
test | |
</title> | |
</head> | |
<body> | |
<form action="/jdakfj"> | |
<button type="submit" > |
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
#!/bin/bash | |
#kills all catalina instances | |
CAT_PID=`ps -ax | grep catalina | awk '{print $1}'` | |
PID_COUNT=`echo $CAT_PID | wc -w` | |
if (( $PID_COUNT < 2 )) | |
then | |
echo 'no cat to kill' | |
exit 1 | |
fi |
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
/* | |
* Diff Match and Patch | |
* Copyright 2018 The diff-match-patch Authors. | |
* https://github.com/google/diff-match-patch | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
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 "MyString.h" | |
#include<stdexcept> | |
MyString::MyString() | |
{ | |
string = NULL; | |
} | |