Skip to content

Instantly share code, notes, and snippets.

Mohamed Bassem MohamedBassem

Block or report user

Report or block MohamedBassem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nogomi_downloader.rb
require 'nokogiri'
require 'open-uri'
require 'net/http'
require 'uri'
artist_link = ARGV[0]
folder_name = ARGV[1]
if artist_link.nil? or folder_name.nil?
puts "You must specify the artist link and folder name"
@MohamedBassem
MohamedBassem / entangle.uml
Last active Aug 29, 2015
Entangle Activities Interaction Diagram
View entangle.uml
@startuml
title Entangle Activities Interactions
object LoginActivity {
The activity in which the user can login
}
object RegisterWebsite {
The webpage where the user can regsiter
}
@MohamedBassem
MohamedBassem / SessionController.php
Last active Aug 29, 2015
Symfony's backend session sample code
View SessionController.php
<?php
namespace Megasoft\EntangleBundle\Controller;
use Megasoft\EntangleBundle\Entity\User;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
You can’t perform that action at this time.