Skip to content

Instantly share code, notes, and snippets.

View ArRolin's full-sized avatar
🌍
Remote Dev

G M Ashiqur Rahaman ArRolin

🌍
Remote Dev
View GitHub Profile
@ArRolin
ArRolin / 5. Smartphones (portrait and landscape)
Last active April 26, 2021 10:36
Here The List of All MEDIA QUERIES
Smartphones/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px) {
/* Styles */
} (portrait and landscape)
@ArRolin
ArRolin / Setting your PHP development environment in Ubuntu
Created May 7, 2013 20:14
Setting your PHP development environment in Ubuntu
Instead of installing each item separately we will go with installing
LAMP server in a package in Ubuntu that is fairly simple along with a
single terminal command:
sudo apt-get install lamp-server^
The apt-get command is a powerful command-line tool used to work with Ubuntu's Advanced Packaging Tool (APT) performing such functions as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu system.
sudo used to invoke the current user with the power of super user and a caret
@ArRolin
ArRolin / gist:5598378
Created May 17, 2013 10:51
UI Effects Showcase
<h1>UI Effects Showcase</h1>
<p>This demo showcases several example configurations for using the jQuery UI Effects Core animations. Some work better than others; the "explode" effect, for example, does not play well with input elements it seems, so should be avoided.</p>
<h2>Example 1</h2>
<code>
<pre>
$(document).ready(function() {
$('#form2').quickWizard({
@ArRolin
ArRolin / style.css
Created February 15, 2014 07:27 — forked from luetkemj/style.css
/* =============================================================================
WordPress WYSIWYG Editor Styles
========================================================================== */
.entry-content img {
margin: 0 0 1.5em 0;
max-width: 100%;
height: auto;
}
.alignleft, img.alignleft {
@ArRolin
ArRolin / Backups
Created March 20, 2014 13:11
Sublime Text Cheat Sheet This is a cheat sheet with keyboard shortcuts for Sublime Text.
Ctrl + Alt + [ Navigate backwards through history
Ctrl + Alt + ] Navigate forwards through history
Ctrl + Alt + Shft + [ Navigate to beginning of history
Ctrl + Alt + Shft + ] Navigate to end of history
Ctrl + Alt + Shft + M Merge selected version with current version
/*
* jQuery FlexSlider v1.8
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
/* Browser Resets */
/*
* jQuery FlexSlider v1.8
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
/* Browser Resets */
@font-face {
font-family: 'MyWebFont';
src: url('webfont.eot'); /* IE9 Compat Modes */
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('webfont.woff') format('woff'), /* Modern Browsers */
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}
body {
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory