Normal Text
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
| git config --global diff.tool bbdiff | |
| git config --global difftool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"' | |
| git config --global difftool.prompt false | |
| git config --global merge.tool bbdiff | |
| git config --global mergetool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"' | |
| Double check ~/.gitconfig |
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
| /** | |
| * RunInThread an other accompanying files are licensed under the MIT | |
| * license. Copyright (C) Frank Appel 2016-2021. All rights reserved | |
| */ | |
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
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/bash | |
| # | |
| ## redis backup script | |
| ## usage | |
| ## redis-backup.sh port backup.dir | |
| port=${1:-6379} | |
| backup_dir=${2:-"/data/backup/redis"} | |
| cli="/usr/local/bin/redis-cli -p $port" |
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 com.example.rest; | |
| import javax.ws.rs.core.Context; | |
| import javax.ws.rs.core.HttpHeaders; | |
| import javax.ws.rs.core.Response; | |
| import javax.ws.rs.core.Response.ResponseBuilder; | |
| import javax.ws.rs.ext.ExceptionMapper; | |
| import javax.ws.rs.ext.Provider; | |
| import org.jboss.resteasy.spi.DefaultOptionsMethodException; |
List some crypto libraries for JavaScript out there. Might be a bit out dated. Scroll to the bottom.
http://www.w3.org/TR/WebCryptoAPI/
This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.
- http://www.proxmox.com/proxmox-ve
- http://pve.proxmox.com/wiki
- https://pve.proxmox.com/wiki/Roadmap
- Based on Debian with latest RHEL kernel, including OpenVZ kernel patches, and finally a hardware detection system.
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
| ; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
| global start | |
| section .text | |
| start: | |
| push dword msg.len | |
| push dword msg | |
| push dword 1 | |
| mov eax, 4 |
