Skip to content

Instantly share code, notes, and snippets.

View cbfranca's full-sized avatar

Cleidson França cbfranca

  • Kinvo
  • Salvador, Bahia, Brasil
View GitHub Profile
//Function to enable reposition cover
function enableRepositionCover() {
$("#cover_image").css('cursor','move');
var y1 = $('.img-header').height();
var y2 = $('#cover_image').height();
$("#cover_image").liveDraggable({
scroll: false,
axis: "y",
drag: function(event, ui) {
if(ui.position.top >= 0)
@cbfranca
cbfranca / gitconfig
Last active December 26, 2015 17:49
[user]
name = cbfranca
email = cleidsonbf@gmail.com
[color]
diff = auto
grep = auto
interactive = auto
status = auto
branch = auto
status = auto
[Tag("AnotherTag")]
class AnotherSpec : nspec
{
void describe_rentabilidade_produtos()
{
context["when data are valids"] = () =>
{
it["b"].should_be("b");
}
Module("Everest.ClickTrade.LoadScript", function (LoadScript) {
LoadScript.fn.initialize = function (url, async) {
this.url = url;
this.async = typeof async !== 'undefined' ? async : false;
this.loadScript(url);
};
LoadScript.fn.loadScript = function () {
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="VisualStudio2013Ultimate" installArgs="/Features:'WebTools" />
<package id="7zip" />
<package id="GoogleChrome" />
<package id="SublimeText3" />
<package id="kdiff3" />
<package id="git" />
<package id="MsSqlServerManagementStudio2014Express" />
</packages>
@cbfranca
cbfranca / package.config
Last active August 29, 2015 14:06
Currently we're installing Git and SQL SERVER MANAGEMENT manually
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="VisualStudio2013Professional" installArgs="/Features:'WebTools" />
<package id="GoogleChrome" />
<package id="Firefox"/>
<package id="SublimeText3" />
<package id="kdiff3" />
<package id="filezilla"/>
<package id="skype"/>
<package id="dropbox"/>
# Created by https://www.gitignore.io
### VisualStudio ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
<div class="col-md-3">
<input type="text" name="birth" class="form-control" mask="39/19/9999" ng-model="vm.resume.birth" required>
<div ng-show="resumeForm.$submitted || resumeForm.birth.$touched">
<div class="text-danger" ng-show="resumeForm.birth.$error.required">Campo obrigatório.</div>
</div>
</div>