Skip to content

Instantly share code, notes, and snippets.

View pcuci's full-sized avatar

Paul Cuciureanu pcuci

View GitHub Profile
@pcuci
pcuci / renet
Last active December 17, 2015 00:29
#!/bin/sh
/sbin/ifdown wlan0 && /sbin/ifup wlan0 && ping google.com -c 4
@pcuci
pcuci / rampup.sh
Last active December 17, 2015 16:29
Getting up to speed with Java and Git development on a new personal Ubuntu laptop
# install Oracle java and eclipse
sudo add-apt-repository ppa:webupd8team/java
http://www.eclipse.org/downloads/
sudo apt-get install oracle-java7-installer oracle-java8-installer oracle-java8-set-default
java -version
javac -version
@pcuci
pcuci / synergy setup references
Created June 1, 2013 04:44
Synergy setup with dual screen server and netbook as driver of mouse and keyboard, over WiFi
References:
http://synergy2.sourceforge.net/running.html
http://synergy2.sourceforge.net/configuration.html
https://help.ubuntu.com/community/SynergyHowto#Autostart_Synergy_before_logging_in_.28LightDM.29 - see LightDM section for GDM setup so you can type username/password while not logged in from the driving machine
@pcuci
pcuci / docker-compose.yml
Last active February 22, 2018 18:59
odoo 11 docker-compose
version: '3'
services:
web:
image: odoo:11
depends_on:
- db
ports:
- "8069:8069"
volumes:
- odoo-web-data:/var/lib/odoo
@pcuci
pcuci / nginx.conf
Last active April 11, 2018 10:13
odoo nginx.conf
user www-data;
events {
worker_connections 768;
}
http {
upstream odoo {
server web:8069 fail_timeout=300s;
}
[options]
; csv_internal_sep = ,
; db_maxconn = 64
; db_name = False
; db_template = template1
dbfilter = ^%d$
; debug_mode = False
; email_from = "[email protected]"
; limit_memory_hard = 2684354560
; limit_memory_soft = 2147483648

Keybase proof

I hereby claim:

  • I am pcuci on github.
  • I am pcuci (https://keybase.io/pcuci) on keybase.
  • I have a public key whose fingerprint is 5306 70B7 3E09 1176 0586 F3DF 3417 4D23 F04C E669

To claim this, I am signing this object:

@pcuci
pcuci / boxstarter.packages
Last active March 22, 2022 05:19
boxstarter init install
### Base Windows Configuration ###
# Enable Windows Features...
Enable-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online -NoRestart
Enable-WindowsOptionalFeature -FeatureName Containers -Online -NoRestart
Enable-WindowsOptionalFeature -FeatureName Microsoft-Windows-Subsystem-Linux -Online -NoRestart
### Chocolatey Installs ###
# Install Chocolatey: https://chocolatey.org/install
@pcuci
pcuci / ubisoft-boxstarter.packages
Last active December 11, 2020 04:09
ubisoft-boxstarter.packages
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
cinst choco-upgrade-all-at --params "'/DAILY:yes /TIME:21:00 /ABORTTIME:23:30'"
cinst reflect-free
cinst nirlauncher
cinst microsoft-windows-terminal
cinst mingw-get
@pcuci
pcuci / ubisoft-windows-terminal-settings.json
Created October 6, 2020 19:37
Ubisoft Windows Terminal Settings
// This file was initially generated by Windows Terminal 1.3.2651.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",