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
PlotTableau[t_] := Grid[t /. i_Integer -> Item[i, Frame -> Blue], Alignment -> Right] |
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
Quiet[Needs["Combinatorica`"]]; | |
lambda = {7,3,3,1}; | |
(* May take a few seconds *) | |
fillings = Tableaux[lambda] |
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
ClearAll["Global`"]; | |
Quiet[Needs["Combinatorica`"]]; | |
(********************************** Definitions. Don't change unless you know what you are doing. *) | |
(** | |
* Map a function2 across a collection | |
*) | |
Map2=#@@@Partition[#2,2,1]&; |
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
<?php | |
namespace common\models; | |
use yii\base\Behavior; | |
use yii\db\ActiveRecord; | |
use yii\web\UploadedFile; | |
/** | |
* @author: Arleigh Dickerson | |
*/ |
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 numpy as np | |
def perceptronLearn(D, maxIter=10, alpha=0.1, b=0): | |
w = np.zeros(np.shape(D)[1] - 1) | |
iterCounter = 0 | |
while iterCounter < maxIter: | |
iterCounter += 1 | |
print("Iteration " + str(iterCounter) + " " + ("-" * 20)) | |
iterError = 0 | |
for row in D: |
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
inoremap jk <Esc> | |
execute pathogen#infect() | |
syntax on | |
set noexpandtab | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 | |
filetype plugin indent on | |
set nu | |
set noswapfile |
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 | |
xcape -e '#66=Escape' |
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
inoremap jk <Esc> |
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
-server | |
-XX:+UseG1GC | |
-XX:MaxGCPauseMillis=100 | |
-XX:G1HeapRegionSize=2 | |
-XX:ParallelGCThreads=8 | |
-XX:ConcGCThreads=2 | |
-XX:+UseStringDeduplication | |
-Xms3678m | |
-Xmx3678m | |
-XX:SoftRefLRUPolicyMSPerMB=50 |
OlderNewer