Skip to content

Instantly share code, notes, and snippets.

Arun M ArunHub

Block or report user

Report or block ArunHub

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 misc.txt
misc
bookmarks drafts
CSS tricks posts videos
khan academy maths science
codecademy Jekyll
View productive.txt
http://www.inc.com/bill-murphy-jr/19-things-really-productive-people-refuse-to-do-according-to-tim-ferriss-and-his.html?cid=sf01001&sr_share=twitter
https://www.inc.com/business-insider/google-hardest-interview-questions.html
https://www.inc.com/zoe-henry/trump-changes-to-h-1b-impact-entrepreneurs-2018.html
https://www.inc.com/minda-zetlin/google-resume-mistakes-laszlo-bock-job-hiring-employment.html
https://www.inc.com/larry-kim/9-signs-you-might-secretly-be-an-ambivert.html
5 ted talks that are instant confidence boost
View opencart.md
  1. no wrap row column for breadcrumb
  2. content body has id=content and all contents of body exluding breadcrumbs
  3. account pages buttons class which pull right.. have to change that
  4. do account pages sidebar with anchor link only not list type
@ArunHub
ArunHub / chrome.bat
Created Mar 29, 2019
Disable same origin policy in Chrome
View chrome.bat
Run below command by pressing (Windows key + R key)
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
Reference: https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome
View Center-div-inside-div-positioning-absolute-relative.css
<span class="screw"></span>
.screw {
position: absolute;
left: 50%;
width: 20px;
height: 20px;
background: #333 none repeat scroll 0% 0%;
border-radius: 50%;
border: 1px solid #ccc;
text-align: center;
@ArunHub
ArunHub / BoxWithBackgroundImageAndHeadingbottomtopleftright.txt
Last active Mar 29, 2019
sprite in center in top and heading in bottom
View BoxWithBackgroundImageAndHeadingbottomtopleftright.txt
<a href="javascript:void" class="tpa">
<figure>
<img src="images/technical.jpg" class="img-responsive">
</figure>
<div>
<h3>Technical Information</h3>
</div>
</a>
.tpa {
@ArunHub
ArunHub / sassfile.txt
Created Mar 28, 2019
sass imports in gulp problem
View sassfile.txt
https://github.com/dlmanning/gulp-sass/issues/1
Right now if any of my sass files have an @import in them I get an error like this:
stream.js:94
throw er; // Unhandled stream error in pipe.
^
source string:1: error: file to import not found or unreadable: 'normalize'
@ArunHub
ArunHub / togglemoreless.js
Created Mar 27, 2019
toggle icons for more/less or advanced filter
View togglemoreless.js
function() {
$(this).hasClass("active") ?
($(this).removeClass("active"),
$(".fresh-widgets .icon-question").show(),
$(".fresh-widgets .icon-cross").hide())
:
($(this).addClass("active"),
$(".fresh-widgets .icon-question").hide(),
$(".fresh-widgets .icon-cross").show())
}
View css-extract.js
function css(el) {
var sheets = document.styleSheets, ret = [];
el.matches = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector
|| el.msMatchesSelector || el.oMatchesSelector;
for (var i in sheets) {
@ArunHub
ArunHub / npm.md
Last active Mar 28, 2019
npm commands
View npm.md
  • To run a file from folder:
    • for example: I want run a gulpfile.js as index.js in tasks folder from root directory

      npm command: gulp --gulpfile tasks

      Here --gulpfile denotes gulpfile.js and searches it as index.js in tasks folder

Install $ npm install -g npm-check Use $ npm-check

You can’t perform that action at this time.