Skip to content

Instantly share code, notes, and snippets.

View Terkea's full-sized avatar
🎯
Focusing

Marian Terchila Terkea

🎯
Focusing
View GitHub Profile
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@Terkea
Terkea / install oracle instant client on ubuntu
Last active September 26, 2020 16:58
install oracle instant client on ubuntu
First of all you gotta navigate to their website and download the basic, sqlplus and sdk versions.
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
-rwxrwxrwx 1 terkea terkea 75462547 Apr 7 14:06 instantclient-basic-linux.x64-19.6.0.0.0dbru.zip
-rwxrwxrwx 1 terkea terkea 932514 Apr 7 14:06 instantclient-sdk-linux.x64-19.6.0.0.0dbru.zip
-rwxrwxrwx 1 terkea terkea 910905 Apr 7 14:06 instantclient-sqlplus-linux.x64-19.6.0.0.0dbru.zip
Once you got them downloaded unzip everything, that should create a new folder called instantclient_version, navigate into it and go with
@Terkea
Terkea / .bashrc
Created April 6, 2020 16:03
terminal settings
eval "$(dircolors ~/.dircolors)"
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ "
{"version":1,"resource":"file:///home/marian/chatgpt4_exploit/gobuster_results.txt","entries":[{"id":"r8f8.txt","timestamp":1678829128811},{"id":"sUpc.txt","source":"undoRedo.source","timestamp":1678829130935},{"id":"Fl9n.txt","timestamp":1678829139623}]}
@Terkea
Terkea / Dockerfile
Last active December 16, 2019 03:28
dockerize django app with postgres and pgadmin
FROM python:3
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
COPY . /code/
RUN pip install -r requirements.txt
@Terkea
Terkea / selenium java
Created May 25, 2019 18:58
facebook login and scroll till the bottom of the profile
package application;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import java.util.HashMap;
import java.util.Map;
import javax.crypto.*;
import javax.crypto.spec.SecretKeySpec;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.InvalidKeyException;
@Terkea
Terkea / JSON java tableview
Last active May 25, 2019 19:03
JSON java tableview
package app.model;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import java.io.*;
import java.util.ArrayList;
@Terkea
Terkea / JSON java tableview
Last active May 25, 2019 19:04
JSON java tableview
package app.model;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import java.io.*;
import java.util.ArrayList;
@Terkea
Terkea / PropertiesFile
Created March 29, 2019 07:40
Java properties example
package app.model;
import java.io.*;
import java.util.Properties;
public class PropertiesFile {
public static Properties prop = new Properties();
public void saveProperty(String name, String value){