Skip to content

Instantly share code, notes, and snippets.

Estimation

This document is an attempt to pin down all the things you don't think about when quoting for a project, and hopefully provide a starting point for some kind of framework to make quoting, working and delivering small-medium jobs more predictable and less stressful.

Contents

@rikka0w0
rikka0w0 / ft2232_to_digilent_jtag.md
Last active April 16, 2024 11:54
FT2232 to Digilent JTag for Xilinx FPGAs (ISE/Vivado)

The Digilent JTag uses FT2232, but its configuration EEPROM contains secrete data needed to be recoginzed by Xilinx ISE/Vivado. The following method only works on linux (tested on Ubuntu16.04), but the patched FT2232 doggle also works on Windows. Since WSL1 does not provide USB device access, the following method will not work for WSL1.

DONT use FT_Prog on offical Digilent cable, as it can trash the firmware! The offical eeprom contains secrete data that cannot be handled correctly by FT_Prog.

Here are steps to create a Digilent-like Jtag that can be used in Xilinx ISE and Vivado

  1. Install softwares: sudo apt-get install libftdi1 ftdi-eeprom
  2. Create a file "flash_digilent.conf" with the following content:
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
@linojon
linojon / parkerhill-unity.gitignore
Last active April 16, 2024 11:54
parkerhill-unity.gitignore
# This .gitignore file should be placed at the root of your Unity project directory
# First part from https://github.com/github/gitignore/blob/master/Unity.gitignore
# Parkerhill additions at the end
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
@biomazi
biomazi / interviewQuestions.md
Created August 13, 2016 14:29
Uobicajena Job Interview pitanja

Junior Web/JS/PHP Developer

Ovo je kompilacija pitanja na koje smo odgovarali na raznim intervjuima za poslove. U pitanju je Junior Dev pozicija, tako da se većina pitanja bavi bazičnim stvarima, ali u okviru intervjua ispitivači vole da ispitaju vaše granice i da zadaju i poneko teže pitanje.

Ukoliko želite da pomognete, javite nam neka od pitanja koja su Vas pogodila na mail, ili na Slacku, ili uradite pull request.

Puna verzija ovog fajla se nalazi na: https://gist.github.com/markomitranic/d9319af84d2c87b81df9

SAE Institute Belgrade © 2016

@kcranston
kcranston / postgres-jsonb.md
Last active April 16, 2024 11:52
intro to document stores in postgreSQL

Document stores in PostgreSQL

Notes for software engineering meeting presentation

What

  • mid to late 2000s: appearance of Document stores / NoSQL databases such as Mongo, Couch
  • Relational DBs now have support for document data: JSON in MySQL, JSON and JSONB in PostgreSQL
  • Focus on JSONB in Postgres (most full featured)
@david-wm-sanders
david-wm-sanders / pipfreeze
Created September 4, 2017 01:20
Powershell Command to pip freeze properly
.\venv\Scripts\pip freeze | Out-File -Encoding UTF8 requirements.txt
@yaroslav
yaroslav / nuke-google-keystone.sh
Created December 14, 2020 11:06
Nuke Google Keystone without removing Google Chrome
sudo rm -R ~/Library/Google/GoogleSoftwareUpdate/
sudo touch ~/Library/Google/GoogleSoftwareUpdate
sudo chmod 444 ~/Library/Google/GoogleSoftwareUpdate
sudo rm ~/Library/LaunchAgents/com.google.keystone.agent.plist
sudo rm ~/Library/LaunchAgents/com.google.keystone.xpcservice.plist
sudo rm ~/Library/Preferences/com.google.Keystone.Agent.plist
sudo rm -R ~/Library/Caches/com.google.Keystone*
# reboot.
# use brew cask to install and update google-chrome.
@Hayk985
Hayk985 / CipherManager.kt
Last active April 16, 2024 11:49
Android KeyStore API Tutorial
import android.security.keystore.KeyGenParameterSpec
import android.security.keystore.KeyProperties
import android.util.Base64
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
@stevenswafford
stevenswafford / google-dorks
Created June 6, 2015 05:57
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!