This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from: | |
# 1/ https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ | |
# 2/ https://www.rockyourcode.com/copy-and-paste-in-tmux/ | |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Adapted from: https://blog.min.io/building-an-ml-data-pipeline-with-minio-and-kubeflow-v2-0/ | |
""" | |
import kfp | |
import minio | |
from kfp.dsl import Output, Dataset, Input | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Download and save Rekhta.org books as images. | |
1. Make sure your Chrome browser is closed before running otherwise script will fail. | |
2. Install selenium (pip install selenium) | |
3. Install pillow (pip install pillow) | |
4. Adjust the User directory and User profile values in main() | |
5. Adjust browser window size in code if requried. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.myaseen.myflumeapp; | |
import java.io.Serializable; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.apache.commons.lang3.SerializationUtils; | |
import org.apache.flume.Event; | |
public class MyTestEvent implements Event, Serializable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
ldr.py | |
Display analog data from Arduino using Python (matplotlib) | |
Author: Mahesh Venkitachalam | |
Website: electronut.in | |
""" | |
import sys, serial, argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linear Equations Solver using Guassian-Jordan elimination | |
# Syed Usama Jamil CS-037 | |
# Muhammad Yaseen CS-050 | |
# Project ID CA-03 | |
#=========================================================================== | |
.data | |
dimension : .byte 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace RiemannSums | |
{ | |
class Program | |
{ | |
static double f( double x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define SIO_C 2 | |
#define SIO_D 4 | |
#define SIO_CLOCK_DELAY 100 | |
void setup() | |
{ | |
pinMode(8,OUTPUT); | |
// while(1) | |
// { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Drawing; | |
using System.IO; | |
namespace JPEGProcess | |
{ | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//****************************************************** | |
// Connections : @Yaseen | |
// RX from MAX3232 to Arduino Serial 1 (TX 1) | |
// TX from MAX3232 to Arduino Serial 1 (RX 1) | |
// Vcc from camera to ARduino +5v | |
// Gnd from camera to Arduino Gnd | |
//******************************************************* | |
byte ZERO = 0x00; | |
byte incomingbyte; |
NewerOlder