Skip to content

Instantly share code, notes, and snippets.

View tiberiucorbu's full-sized avatar
🎯
Focusing

Tiberiu CORBU tiberiucorbu

🎯
Focusing
  • München
View GitHub Profile
@tiberiucorbu
tiberiucorbu / Render html in Jupyter.ipynb
Created June 10, 2021 11:27
Render html in Jupyter
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tiberiucorbu
tiberiucorbu / README.md
Last active December 28, 2023 10:46
Retrive active devices on the network form the vodafone router : CGA4233DE

Retrive active devices on the network form the vodafone kabelbox (CGA4233DE)

In order to automate the network activity like getting the list of connected devices, notify the presensce of a device, log and debug wifi issues, it would be nice to have the list provided by the router of the current status.

In this aricle I am going to explore this posibility, reverse engenier the web app from the router and try to authentificate and retrive the active data table from the router.

The first step is to analyze the web console into the network tab and login to see which requests are beeing made.

Security Chanlenges

@tiberiucorbu
tiberiucorbu / README.md
Last active March 14, 2016 11:21
Most common linux - unbuntu commands or tasks that I keep forget how to do.

Disable sudo password

sudo visudo

Add line at the bottom:

username ALL=(ALL) NOPASSWD: ALL
@tiberiucorbu
tiberiucorbu / index.html
Last active August 29, 2015 14:13
Important German Verbs// demo http://jsbin.com/loyutu
<!DOCTYPE html>
<!--
Created using JS Bin
http://jsbin.com
Copyright (c) 2015 by tiberiu.corbu (http://jsbin.com/loyutu)
Released under the MIT license: http://jsbin.mit-license.org
-->
@tiberiucorbu
tiberiucorbu / Lernwortschatz_SP_1.md
Last active August 29, 2015 14:12
Lernwortschatz

Lernwortschatz (Schritte Plus 1)

1 Guten Tag. Mein Name ist...

Begrüßung und Abschied

Hallo.
Guten Morgen.
Guten Tag.

Freut Mich

@tiberiucorbu
tiberiucorbu / Proceduri_si_manevre.md
Last active August 29, 2015 14:06
Școala de șoferi - Conducere - Proceduri și Manevre

PROCEDURI ȘI MANEVRE

Instalarea la postul de conducere : S.O.C.

  • Scaun : Reglăm poziția scaunului;
  • Oglinzi : Reglăm poziția oglinzilor;
  • Centură : Fixăm centura de siguranță.

Pornirea motorului:

@tiberiucorbu
tiberiucorbu / Middleman-Pdf-template-engine.md
Last active August 29, 2015 14:02
Middleman - Pdf Tilt template engine

Middleman - PDF template engine

This article explain how to configure PDF-Tilt in a middleman project.

After hours of investigations it turned out to be easier than expected, initially I have tried to make an extension and register a custom made engine into tilt, after numerous fails google came in handy once again with pdf-tilt implementation.

Note: pdf-tilt relies on PDFKit which in its turn relies on wkhtmltopdf. wkhtmltopdf needs an X server (screen), and in my case using Ubuntu Saucy some dependencies for the patched (full feature) version ware hard to be satisfied, I found no solution so far.

For a working solution here is what you can do:

@tiberiucorbu
tiberiucorbu / cubie_a10.js
Last active August 29, 2015 14:02
Draft Board pinout picture generator
var expansionPorts = {
"U14" : {
"description" : "next to SATA connector",
"x" : 42,
"y" : 86,
"portOrientation" : "lt",
"colCount": 2,
"pins" : [{
"pinNum" : 1,
"func" : "PD0",
@tiberiucorbu
tiberiucorbu / Gemfile
Last active September 15, 2021 15:24
Middleman - Markdown from text or url
# If you have OpenSSL installed, we recommend updating
# the following line to use "https"
source 'http://rubygems.org'
gem "middleman", "~>3.2.2"
gem 'redcarpet'
# Live-reloading plugin
gem "middleman-livereload", "~> 3.1.0"

Arch Linux ARM - Cubieboard A10 - Write boot and system files

ETA : 5 to 10 min

After the card was partitioned you can proceed with system installation, in this document explains how to write the bootloader and the filesystem of ArchLinux Arm on the card for Cubieboard A10.

Briefly there are two tar balls to download: the bootloader and the filesystem, the bootloader contains the boot script and the files needed for the boot, while the filesystem archive the files needed for the system. These files should be copied from the bootloader archive to the first partion of your card and for the filesytem to the second partition of your card, preaty simple huh?. Also in the bootloader archive you will find the files necessary to make your card bootable, these must be writen at the very begining of the card (Remember that 1M before the first partition)

You would need: