Skip to content

Instantly share code, notes, and snippets.

Arun M ArunHub

View GitHub Profile
View try.txt
### css
1.eyes rolling exercies on css
2.float left float none
3.https://www.manifold.co/blog/css-puzzles-a-mentorship-program-for-better-styling-d018e77de57c
https://textblock.io/
https://notlaura.com/algorithms-of-css-sources/
remove.bg
JS
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) {
You can’t perform that action at this time.