Skip to content

Instantly share code, notes, and snippets.

alexisnomine

Block or report user

Report or block alexisnomine

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
@alexisnomine
alexisnomine / DocxToPdf.ps1
Created Mar 7, 2014
Batch convert docx to pdf with powershell
View DocxToPdf.ps1
Param(
[Parameter(Mandatory=$True)]
[string]$FilePath
)
$Files = Get-ChildItem "$FilePath\*.docx"
$Word = New-Object -ComObject Word.Application
Foreach ($File in $Files) {
@alexisnomine
alexisnomine / functions.php
Last active Jun 14, 2019
WooCommerce 2.1 Mobile First Responsive Layout
View functions.php
<?php
add_filter( 'woocommerce_enqueue_styles', 'my_woocommerce_styles' );
function my_woocommerce_styles($styles){
unset($styles['woocommerce-layout']);
unset($styles['woocommerce-smallscreen']);
$styles['woocommerce-layout'] = array(
'src' => get_stylesheet_directory_uri() . '/woocommerce-layout.css',
'deps' => '',
'version' => '1.0.0',
'media' => 'all'
@alexisnomine
alexisnomine / breadcrumbs.css
Last active Aug 29, 2018
Breadcrumb when navigating folders in a Sharepoint 2010 Document Library WebPart. (Pure JS, No jQuery, IE8+) Can be inserted via a "HTML Form Web Part" or referenced in a custom masterpage.
View breadcrumbs.css
.ms-WPHeader .breadcrumbs{
display:block;
font-style:italic;
}
.ms-WPHeader .breadcrumbs,.ms-WPHeader .breadcrumbs a{
font-size: 0.8em;
color:#D1D1D1;
}
@alexisnomine
alexisnomine / gist:04d1c7ab3f1de1b8ea3e
Last active Aug 29, 2015
AngularJS File Drag & Drop directive
View gist:04d1c7ab3f1de1b8ea3e
(function() {
'use strict';
angular.module('ngFileDND', ['ng'])
.directive('dropZone', function () {
return {
restrict: 'E',
scope: {
message: '@',
accept: '@',
@alexisnomine
alexisnomine / overrideLayoutFont.css
Last active Aug 29, 2015
Override totally SharePoint 2010 font-family (from corev4.css)
View overrideLayoutFont.css
.ms-formula,
.ms-templatepicker select,
.ms-propertysheet th.ms-vh2-nofilter-notextalign,
.ms-dspadapterlist,
.ms-sectionheader,
.ms-linksectionheader,
.ms-sectionhighlight-top,
table.ms-pageinformation,table.ms-createpageinformation,
.ms-pageinformation table td,.ms-createpageinformation table td,
.ms-pageinformation h3.ms-standardheader,
You can’t perform that action at this time.