Skip to content

Instantly share code, notes, and snippets.

View Iduoad's full-sized avatar
🫖
Reform

Mohammed Daoudi Iduoad

🫖
Reform
View GitHub Profile
http://feeds.reuters.com/news/artsculture
http://feeds.reuters.com/reuters/businessNews
http://feeds.reuters.com/reuters/companyNews
http://feeds.reuters.com/reuters/entertainment
http://feeds.reuters.com/reuters/environment
http://feeds.reuters.com/reuters/healthNews
http://feeds.reuters.com/reuters/lifestyle
http://feeds.reuters.com/news/reutersmedia
http://feeds.reuters.com/news/wealth
http://feeds.reuters.com/reuters/MostRead
@Iduoad
Iduoad / gist:bb19c693289875eb96131f9b0c279d28
Created April 30, 2020 01:33 — forked from nobuti/gist:9131387
Bidi detection on inputs texts
// From http://closure-library.googlecode.com/svn-history/r27/trunk/closure/goog/docs/closure_goog_i18n_bidi.js.source.html
// with modifications
bidi_helpers = (function(){
var module = {}
/**
* Directionality enum.
* @enum {number}
*/
import json
def extract_talks(json_file):
talks = json.load(json_file)
return talks.values()
def slugify(a_str):
slug = a_str.lower().replace(" ", "-").replace("/", "_")[:50]
return slug
@Iduoad
Iduoad / notes.json
Created January 26, 2020 01:17
Notes about articles I read, and talks I watched.
{
"1" : {
"title" : "The JavaScript Starter Kit Manifesto",
"description" : "Solve JS developers fatigue problems (due to the choice paradox created by the huge number of JS code out there) by using starter kits",
"type" : "talk",
"speaker" : "Cory House",
"source" : "https://www.youtube.com/watch?v=jubd2opc4Ps",
"ideas" : [
{"So many decisions to make" : "4:52" },
{"Starter kit synonyms : Dev Env, Boilerplate, seed, starter project, scaffold, generator": "8:00"},
0xdbe
10gen-csharp-driver
128bit
12factor
16-bit
1wire
2048
2-3-4-tree
23andme-api
2-3-tree
FROM mongo
COPY data.json /tmp/data.json
CMD mongoimport --host mongodb --db recrutement --collection offers --type json --file /tmp/data.json
FROM mongo:latest
RUN mkdir -p /data/db
RUN echo "bind_ip = 0.0.0.0" >> /etc/mongodb.conf
EXPOSE 27017
CMD ["mongod"]
version: '3'
services:
mongodb:
build: .
restart: always
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
volumes:
- ./mongodata:/data/db

Les Modules li ghadi te9raw :

1. Java

  • Chno ghadi tet3ellem:

      - Ghadi tet3elem tssayeb des applications (Console based) b Java.
      - Ghadi tet3ellem les modes d'access la lecture/ecriture f un fichier (Streams vs buffers) ou l'implemetation dialhom f Java.
      - Ghadi tet3lem Chnou anwa3 Les collections(Structures de donnees) li kaynin ou kifach tekhdem bihom f Java.
    
  • Ghadi t3ellem comment connecter une application Java a une base de donnees. (JDBC)
@Iduoad
Iduoad / TP8.sh
Created December 24, 2018 17:34
Correction du tp8 Linux
# 1. interfaces reseaux
ip link show #(ip link toute seule)
# 2. network manager
# 2.1
systemctl status networkmanager.service
# 2.2
ip link show eth0 | grep state | cut -f9 -d" " #remplacez eth0 par le nom de la carte reseau.
ip link show up
# 3. adresses
ip addr