This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Usage: | |
' Call CreateButton("Example", "A1", "name_of_the_macro") | |
Sub CreateButton(name, rng, theMacro) | |
With ActiveSheet | |
Debug.Print .range(rng).Left | |
Debug.Print .range(rng).Top | |
.Buttons.Add(.range(rng).Left, .range(rng).Top, .range(rng).Width, .range(rng).height).Select | |
With Selection | |
.Characters.Text = name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub ExportData(rng, fileFormat as Integer = 51) | |
Dim irow As Integer | |
Dim rngArr() as String | |
fileSaveName = Application.GetSaveAsFilename(fileFilter:="xlsx Files (*.xlsx), *.xlsx") | |
If fileSaveName <> False Then | |
ActiveSheet.range(rng).Copy | |
Set NewBook = Workbooks.Add | |
Set rngArr() = Split(rng, ":") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Function ButtonRow() | |
Dim b As Object, RowNumber As Integer | |
Set b = ActiveSheet.Buttons(Application.Caller) | |
With b.TopLeftCell | |
RowNumber = .Row | |
End With | |
ButtonRow = RowNumber | |
End Function | |
Public Function ButtonCol() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Function RowNumber(Col As String, Optional RowOffset As Variant = 1, Optional ColumnOffset As Variant = 0) As Long | |
RowNumber = Cells(Rows.Count, Col).End(xlUp).Offset(RowOffset, ColumnOffset).Row | |
End Function | |
Public Function SaveData(Columns As Variant, Data As Variant, RowNumber As Long) | |
Dim i As Long | |
i = 1 | |
For Each Column In Columns | |
Range(Column & RowNumber) = Data(i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.site-content { | |
background: $color__background-site-content; | |
padding: $padding__site-content; | |
} | |
.site-content, | |
.featured-content { | |
max-width: $size__site-content; | |
margin: auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MathJax.Hub.Config({ | |
showProcessingMessages: false, | |
tex2jax: { | |
inlineMath: [ | |
['$', '$'], | |
['\\(', '\\)'] | |
] | |
}, | |
extensions: [ | |
'toMathML.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>LaTeX para Word</title> | |
<meta name="description" content="Escreva em LaTeX e copie diretamente para o Word!"> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css" rel="stylesheet"> | |
<link rel='stylesheet' id='genericons-css' href='http://engenharialivre.com/wp-content/plugins/jetpack/_inc/genericons/genericons/genericons.css?ver=3.1' type='text/css' media='all'/> | |
<link rel='stylesheet' id='eng-fonts-css' href='https://fonts.googleapis.com/css?family=Fira+Sans%3A500%2C300italic%2C300%2C700italic%2C700%7COpen+Sans%3A300%2C300italic%2C700%2C700italic&ver=4.3' type='text/css' media='all'/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'add_meta_boxes', 'listing_image_add_metabox' ); | |
function listing_image_add_metabox () { | |
add_meta_box( 'listingimagediv', __( 'Listing Image', 'text-domain' ), 'listing_image_metabox', 'post', 'side', 'low'); | |
} | |
function listing_image_metabox ( $post ) { | |
global $content_width, $_wp_additional_image_sizes; | |
$image_id = get_post_meta( $post->ID, '_listing_image_id', true ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class My_Widget extends WP_Widget { | |
/** | |
* Sets up the widgets name etc | |
*/ | |
public function __construct() { | |
$widget_ops = array( | |
'classname' => 'my_widget', |
OlderNewer