User account menu

  • Log in

Main navigation

  • Home
  • Cherries
  • ops
www.kurilla.org

Breadcrumb

  • Home

cherry

gitolite create new repository

By admin | 1:47 PM CEST, Wed October 09, 2024

After you added the new repo in gitolite-admin config, you can push via:

cd NewRepoPath
git init
git add .
git commit -m 'initial commit' -a
git remote add origin git@YOUR_SERVER:REPONAME
git push origin master:refs/heads/master
git push --set-upstream origin master

  • Read more about gitolite create new repository
  • Log in to post comments

Howto detect image size

By admin | 7:39 PM CET, Fri February 23, 2024

requirement: imagemagick:

identify -format '%wpt x %hpt' IMAGE.jpg

  • Read more about Howto detect image size
  • Log in to post comments

Generate SSL certificate for https

By admin | 7:38 PM CET, Fri February 23, 2024

Generate server key:
openssl genrsa -out server.key 2048
Generate CSR:
openssl req -new -key server.key -out server.csr
Generate certificate (could be symlinked with server.pem):
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
View cert:
openssl x509 -in certificate.pem -noout -text

  • Read more about Generate SSL certificate for https
  • Log in to post comments

What is my IP

By admin | 7:37 PM CET, Fri February 23, 2024

http://whatismyip.org

curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

  • Read more about What is my IP
  • Log in to post comments

Print from shell via lpr with options

By admin | 7:36 PM CET, Fri February 23, 2024

lpr [-P Printer ] [-#n] [-o Options ] file(s)
-#n number of copies
-o page-ranges=2-5
-o sides=two-sided-long-edge
-o landscape
-o saturation=0 (0=black/white, 100=default=original, 200=extreme colors)

  • Read more about Print from shell via lpr with options
  • Log in to post comments

EDUROAM at GSI for raspberry pi linux via (EDIMAX usb stick) wlan

By admin | 7:34 PM CET, Fri February 23, 2024

/etc/network/interfaces:
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

wpa_supplicant conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

#Einstellungen zu eduroam
network={
ssid="eduroam"
key_mgmt=WPA-EAP
eap=PEAP
identity="a.bcdef@gsi.de"
password=hash:8846f7eaee8fb117ad06bdd830b7586c
ca_cert="/etc/wpa_supplicant/eduroam.pem"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
priority=1
}

Creation of password hash:
echo -n password | iconv -t utf16le | openssl md4

Do not forget to remove that line from .bash_history!

  • Read more about EDUROAM at GSI for raspberry pi linux via (EDIMAX usb stick) wlan
  • Log in to post comments

Drupal without page rendering

By admin | 7:30 PM CET, Fri February 23, 2024

http://stackoverflow.com/questions/247991/displaying-a-drupal-view-with…

  • Read more about Drupal without page rendering
  • Log in to post comments
Subscribe to cherry
Powered by Drupal

Copyright © 2025 Company Name - All rights reserved

Developed & Designed by Alaa Haddad