View string_to_bits.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
char * convertStringToBits(char * string) { | |
int i; | |
int stringLength = strlen(string); | |
int mask = 0x80; /* 10000000 */ | |
char *charArray; | |
charArray = malloc(8 * stringLength + 1); | |
if(charArray == NULL) { | |
printf("An error occured!\n"); | |
return NULL; //error - cant use charArray | |
} |
View password_bcrypt.php
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 | |
/** | |
* Generate a secure BCrypt hash for a given password.\n | |
* The cost is passed to the blowfish algorithm provided | |
* by PHP. | |
*/ | |
function generateBCryptHash($password, $cost) { | |
if(defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH) { | |
/** | |
* To generate the salt, we first follow the requirement |
View combined.txt
This file has been truncated, but you can view the full file.
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
@relation 'fer2017-weka.filters.supervised.attribute.AttributeSelection-Eweka.attributeSelection.CfsSubsetEval -P 1 -E 1-Sweka.attributeSelection.BestFirst -D 1 -N 5' | |
@attribute pixel0 numeric | |
@attribute pixel1 numeric | |
@attribute pixel2 numeric | |
@attribute pixel46 numeric | |
@attribute pixel47 numeric | |
@attribute pixel48 numeric | |
@attribute pixel58 numeric | |
@attribute pixel93 numeric | |
@attribute pixel95 numeric |
View GuiSkyrimPlayerInventory.java
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
package com.ryankshah.skyrimcraft.client.gui; | |
import net.minecraft.client.gui.GuiScreen; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemStack; | |
import org.lwjgl.input.Keyboard; | |
import java.io.IOException; |
View topology.py
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/bin/python | |
# -*- coding: utf-8 -*- | |
from mininet.topo import Topo | |
from mininet.net import Mininet | |
from mininet.util import dumpNodeConnections, pmonitor | |
from mininet.log import setLogLevel | |
from mininet.node import RemoteController, OVSSwitch | |
#from mininet.node import OVSController |
View topology.py
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/bin/python | |
# -*- coding: utf-8 -*- | |
from mininet.topo import Topo | |
from mininet.net import Mininet | |
from mininet.util import dumpNodeConnections, pmonitor | |
from mininet.log import setLogLevel | |
from mininet.node import Controller, OVSSwitch | |
#from mininet.node import OVSController |
View topo
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/bin/python | |
# -*- coding: utf-8 -*- | |
from mininet.topo import Topo | |
from mininet.net import Mininet | |
from mininet.util import dumpNodeConnections, pmonitor | |
from mininet.log import setLogLevel | |
from mininet.node import Controller, OVSSwitch | |
#from mininet.node import OVSController |
View gist:c610bf247d565a3d23e05feec6d55277
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
from mininet.topo import Topo | |
from mininet.net import Mininet | |
from mininet.util import dumpNodeConnections, pmonitor | |
from mininet.log import setLogLevel | |
from mininet.node import Controller, OVSSwitch | |
#from mininet.node import OVSController | |
from signal import SIGINT | |
import math | |
import random |
View verify_1_chain.csv
We can't make this file beautiful and searchable because it's too large.
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
policy,level,value | |
blp,10,405 | |
blp,10,556 | |
blp,10,512 | |
blp,10,642 | |
blp,10,447 | |
blp,10,642 | |
blp,10,168 | |
blp,10,164 | |
blp,10,170 |
View verify_1_chain.csv
We can't make this file beautiful and searchable because it's too large.
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
policy,level,value | |
blp,10,405 | |
blp,10,556 | |
blp,10,512 | |
blp,10,642 | |
blp,10,447 | |
blp,10,642 | |
blp,10,168 | |
blp,10,164 | |
blp,10,170 |
OlderNewer