epl

5G Verticals: Customizing Applications, Technologies and Deployment Techniques


 

A comprehensive text to an understanding the next generation mobile broadband and wireless Internet of Things (IoT) technologies

5G Verticals brings together in one comprehensive volume a group of visionaries and technical experts from academia and industry. The expert authors discuss the applications and technologies that comprise 5G verticals. The earlier network generations (2G to 4G) were designed as on-size-fits-all, general-purpose connectivity



Read More...




epl

NBA Star Kevin Love Shares Mental Health Struggles in NIH MedlinePlus Magazine

In the current issue of NIH MedlinePlus magazine, NBA star Kevin Love talks about his experiences with anxiety and the importance of removing the stigma surrounding men and mental health. The Cleveland Cavaliers basketball player shares what it was like to experience a panic attack right in the middle of a game. He also offers advice to…




epl

Actress Jordin Sparks Talks About Sickle Cell Disease in NIH MedlinePlus Magazine

The current issue of NIH MedlinePlus magazine brings you recording artist and Broadway actress Jordin Sparks sharing her family’s experience with sickle cell disease. Sparks opens up about honoring her late stepsister, giving more patients a voice, and reducing stigma. She says, “We need to end the stigma that can come with sickle cell disease.…




epl

Optical microresonator arrays of fluorescence-switchable diarylethenes with unreplicable spectral fingerprints

Mater. Horiz., 2020, Accepted Manuscript
DOI: 10.1039/D0MH00566E, Communication
Open Access
Daichi Okada, Zhan-Hong Lin, Jer-Shing Huang, Osamu Oki, Masakazu Morimoto, Xuying Liu, Takeo Minari, Satoshi Ishii, Tadaaki Nagao, Masahiro Irie, Yohei Yamamoto
A high-security identification requires authentication that is hard to be counterfeit and replicated. For anti-counterfeiting data storage and rewritable memory devises, chromic materials are adoptable, where the dichromatic colours can...
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

John Dewey and the notion of trans-action: a sociological reply on rethinking relations and social processes / Christian Morgner, editor

Online Resource




epl

Acting too soon on knee replacement?




epl

[ASAP] Application of GaInSn Liquid Metal Alloy Replacing Mercury in a Phase Equilibrium Cell: Vapor Pressures of Toluene, Hexylbenzene, and 2-Ethylnaphthalene

Journal of Chemical & Engineering Data
DOI: 10.1021/acs.jced.9b01208




epl

Bankovnictví v teorii a praxi [electronic resource] / Michal Mejstrík, Magda Pecena, Petr Teply

Mejstřík, Michal, author




epl

Deployment guide series. IBM Tivoli Usage and Accounting Manager V7.1 [electronic resource] / [Budi Darmawan ... et al.]




epl

Covid-19 crisis: Won't deploy Army in Mumbai, says Uddhav Thackeray

Thackeray said his government has requested for doctors from the Railways, port trust and other central departments for support




epl

Express Newslist: Mumbai blasts convict’s confession, India’s reply to Pak at UN, Mahesh Sharma on Dadri lynching




epl

Shakespeare's rise to cultural prominence: politics, print and alteration, 1642-1700 / Emma Depledge, University of Fribourg, Switzerland

Dewey Library - PR2899.D47 2018




epl

Science Podcast - Replacing the Y chromosome, the future of U.S. missile defense, the brightest gamma-ray burst, and more (22 Nov 2013)

The minimum requirements for a Y chromosome with Monika Ward; Eliot Marshall checks in on U.S.'s missile interception program 30 years later; Sylvia Zhu breaks down observations from the brightest gamma-ray burst.




epl

<i>Science</i> and <i>Nature</i> get their social science studies replicated—or not, the mechanisms behind human-induced earthquakes, and the taboo of claiming causality in science

A new project out of the Center for Open Science in Charlottesville, Virginia, found that of all the experimental social science papers published in Science and Nature from 2010–15, 62% successfully replicated, even when larger sample sizes were used. What does this say about peer review? Host Sarah Crespi talks with Staff Writer Kelly Servick about how this project stacks up against similar replication efforts, and whether we can achieve similar results by merely asking people to guess whether a study can be replicated. Podcast producer Meagan Cantwell interviews Emily Brodsky of the University of California, Santa Cruz, about her research report examining why earthquakes occur as far as 10 kilometers from wastewater injection and fracking sites. Emily discusses why the well-established mechanism for human-induced earthquakes doesn’t explain this distance, and how these findings may influence where we place injection wells in the future. In this month’s book podcast, Jen Golbeck interviews Judea Pearl and Dana McKenzie, authors of The Book of Why: The New Science of Cause and Effect. They propose that researchers have for too long shied away from claiming causality and provide a road map for bringing cause and effect back into science. This week’s episode was edited by Podigy. Download a transcript of this episode (PDF) Listen to previous podcasts. About the Science Podcast [Image: Jens Lambert, Shutterstock; Music: Jeffrey Cook]




epl

A rapid and colorimetric biosensor based on GR-5 DNAzyme and self-replicating catalyzed hairpin assembly for lead detection

Anal. Methods, 2020, 12,2215-2220
DOI: 10.1039/D0AY00091D, Paper
Fang Wang, Jianyuan Dai, Hongli Shi, Xiaoqian Luo, Lan Xiao, Cuisong Zhou, Yong Guo, Dan Xiao
A rapid and colorimetric biosensor for Pb2+ detection has been constructed on the basis of Pb2+-dependent GR-5 DNAzyme and the self-replicating catalyzed hairpin assembly (SRCHA) reaction.
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

Discovery, SAR study and ADME properties of methyl 4-amino-3-cyano-1-(2-benzyloxyphenyl)-1H-pyrazole-5-carboxylate as an HIV-1 replication inhibitor

RSC Med. Chem., 2020, Advance Article
DOI: 10.1039/D0MD00025F, Research Article
Jeanne Fichez, Cathia Soulie, Laurent Le Corre, Sophie Sayon, Stéphane Priet, Karine Alvarez, Olivier Delelis, Patrick Gizzi, Guillaume Prestat, Christine Gravier-Pelletier, Anne-Geneviève Marcelin, Vincent Calvez, Patricia Busca
Identified as an HIV-1 inhibitor in cellulo, this pyrazole does not belong to the three main classes of anti HIV-drugs, a feature of prime interest in the context of viral resistance.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

Protein—fragment complex structures derived by NMR Molecular Replacement

RSC Med. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0MD00068J, Research Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Felix Torres, Dhiman Ghosh, Dean Strotz, Celestine Chi, Ben Davis, Julien Orts
Recently we have established an NMR Molecular Replacement method, which is capable of solving the structure of the interaction site of protein-ligand complexes in a fully automated manner. While the...
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

Phrarātchadamrat læ sunthō̜nphot top Phō̜.Sō̜. 2493-2531 = Royal addresses of welcome and reply speeches [1954-1988]




epl

Phrarātchadamrat læ sunthō̜nphot top Phō̜.Sō̜. 2533-2552 = Royal addresses of welcome and reply speeches [1990-2009]




epl

First Guatemalan Satellite Deployed from the ISS

Guatemala’s first satellite, a CubeSat called Quetzal-1, was deployed from the International Space Station (ISS) on April 28. Its primary mission is to test a sensor for remote data acquisition for natural resource management, which could be used to monitor water quality in inland water bodies.

The satellite is part of the Japanese Kibo CubeSat program, a product of the cooperation between, amon...




epl

Watch: Bhogle on why Rohit replacing Kohli as India’s white-ball captain may not be a good idea

Rohit Sharma and Virat Kohli’s contrasting fortune as captains in the Indian Premier League has always raised doubts.




epl

Arnold Ventures Awards $6 Million Grant to Study Replication and Evaluation of Penn Nursing’s Transitional Care Model

Mathematica study will evaluate the effectiveness of the Transitional Care Model (TCM) in reducing rehospitalizations and will promote widespread use of the program in a number of health systems.




epl

Lokayukta court seeks reply soon from IAS couple in DA case

Court direction after Lokayukta counsel pleaded that the couple was deliberately delaying the case.




epl

Punjab police "picks up" fasting Gurbaksh Singh; volunteer "replaces" him

Gurbaksh Singh is believed to be "continuing" with his hunger strike in jail.




epl

Twitter tests warning prompt on replies with offensive, harmful language

The prompt will come as a pop-up on tweets which carry harmful content




epl

Law Ministry to reply to Mamata, clarify stand on governor’s role



  • DO NOT USE West Bengal
  • India

epl

BJP-TMC clash in Burdwan village, RAF deployed



  • DO NOT USE West Bengal
  • India

epl

EPL: Walters' own goals allow Chelsea stroll at Stoke

Two own goals from Stoke City forward Jonathan Walters set Chelsea on their way to a 4-0 Premier League victory on Saturday that gave under-fire interim manager Rafael Benitez some respite.




epl

011 JSJ Can HTML5 and JavaScript Really Replace Flash?

The panelists discuss whether HTML5 and JavaScript can really replace Flash.




epl

Identification of Cardiovascular Monosodium Urate Crystal Deposition in Gout Using Dual-Energy CT—Reply

In Reply We appreciate the valuable comments of Becce et al on our article. We applied prospective electrocardiography gating using a thin-slice cardiac protocol to ensure highest spatial resolution with minimal motion artifact. A noncontrast electrocardiography-gated computed tomography (CT) examination with standardized scan parameters was performed using a 128-slice dual-source CT (SOMATOM Definition Flash; Siemens) with a detector collimation of 2 × 64 × 0.6 mm, rotation time of 0.28 seconds, and prospective electrocardiography triggering for heart rates less than 65 beats per minute (diastolic padding, 70% of RR interval) and more than 65 beats per minute (systolic padding, 40% of RR interval). Axial images were reconstructed with 0.75-mm slice width, increment of 0.5, and a medium-smooth convolution kernel (B26f). When motion artifact was present, it was distinguished by visual analysis of an experienced observer and colorized pixels related to motion were excluded.




epl

Inpatient PCI Volume and Transcatheter Aortic Valve Replacement or Mitral Valve Repair Outcomes

This cross-sectional study investigates whether hospital inpatient percutaneous coronary intervention volume is associated with rates of 30-day risk-adjusted mortality and hospital readmission after transcatheter aortic valve replacement and transcatheter mitral valve repair.




epl

Pragmatic vs Explanatory Trials—Reply

In Reply We thank Fernandes et al for their interest in our study and agree that this field requires further exploration. Explanatory trials are primed to maximize the likelihood of finding efficacy of an intervention by testing it in an ideal setting, whereas pragmatic trials aim to test effectiveness of an intervention in a more generalizable setting. Hence, they are expected to generate more generalizable results, with the risk understood that there may be more variation in less tightly controlled environments, which may result in differing results.




epl

[ASAP] Universal Gelation of Metal Oxide Nanocrystals via Depletion Attractions

Nano Letters
DOI: 10.1021/acs.nanolett.0c01311




epl

Targeted Isolation of Two Disesquiterpenoids Macrocephadiolides A and B from Ainsliaea macrocephala using Molecular Networking-based Dereplication Strategy

Org. Chem. Front., 2020, Accepted Manuscript
DOI: 10.1039/D0QO00030B, Research Article
Yong-Mei Ren, Shuaizhen Zhou, Tian Zhang, Meijia Qian, Rui Zhang, Sheng Yao, Hong Zhu, Chunping Tang, Ligen Lin, Yang Ye
A molecular networking-based dereplication strategy was applied to the phytochemical investigation of Ainsliaea macrocephala, leading to the isolation of two novel disesquiterpenoids macrocephadiolides A (1) and B (2). Their structures,...
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

CSS image replacement. One more time.

An accessible image replacement method using pseudo-elements and generated-content. This method works with images and/or CSS off, with semi-transparent images, doesn’t hide text from screen-readers or search engines, and provides fallback for IE 6 and IE 7.

Known support: Firefox 1.5+, Safari 3+, Chrome 3+, Opera 9+, IE 8+

What’s wrong with current methods?

The two most widely used image replacement techniques are the Gilder/Levin Method and the Phark Method. Both have different flaws.

The Gilder/Levin Method requires the addition of presentational HTML (an empty span) and doesn’t work with transparent images as the default text shows through. The Phark Method uses a negative text-indent to hide the text and so it is not visible when CSS is on and images are off.

Resurrecting the NIR method

Using pseudo-elements and generated-content as an image replacement technique isn’t a new idea. It was proposed and demonstrated by Paul Nash back in 2006. This is the Nash Image Replacement method.

<h1 class="nir">[content]</h1>
.nir {
   height: 100px; /* height of replacement image */
   padding: 0;
   margin: 0;
   overflow: hidden;
}

.nir:before {
   content: url(image.gif);
   display: block;
}

The height value is equal to that of the replacement image. Setting overflow:hidden ensures that the original content is not visible on screen when the image is loaded. The replacement image is inserted as generated content in the :before pseudo-element which is set to behave like a block element in order to push the element’s original content down.

What about IE 6 and IE 7?

Neither browser supports :before; if you need to support them you’ll have to rely on the Phark method. This can be done using conditional comments or safe IE6/7 hacks to serve alternative styles to legacy versions of IE .

<!--[if lte IE 7]>
<style>
.nir {
   height: 100px;
   padding: 0;
   margin: 0;
   overflow: hidden;
   text-indent: -9000px;
   background: url(image.gif) no-repeat 0 0;
}
</style>
<![endif]-->

Using the NIR method allows you to keep your HTML semantic and deliver improved accessibility to users of modern browsers. The Phark Method can then be served to IE 6 and IE 7.

Improving the NIR method

The first problem with NIR is that if images are disabled all browsers leave whitespace above the element’s content. Opera 10.5 even displays the text string “image”! If the height of the element is small enough this whitespace causes the element’s content to overflow and be partially or completely hidden when images are disabled.

Another consideration is what happens if an image doesn’t exist or fails to load. Safari and Chrome will display a “missing image” icon that cannot be removed. Once again, this can cause the element’s content to overflow and become partially or completely hidden to users.

A more robust version of the NIR method is the following modification:

.nir {
   height: 100px; /* height of replacement image */
   width: 400px; /* width of replacement image */
   padding: 0;
   margin: 0;
   overflow: hidden;
}

.nir:before {
   content: url(image.gif);
   display: inline-block;
   font-size: 0;
   line-height: 0;
}

Setting font-size and line-height to 0 avoids the whitespace problems in all browsers. Setting the element’s width equal to that of the replacement image and getting the pseudo-element to act as an inline-block helps minimise the problems in webkit browsers should an image fail to load.

Ideally browsers would avoid displaying anything in a pseudo-element when its generated-content image fails to load. If that were the case, the original NIR method would be all that is needed.

What about using sprites?

One of the most common uses of image replacement is for navigation. This often involves using a large sprite with :hover and :active states as a background image. It turns out that using sprites is not a problem for modern browsers. When using the modified-NIR method the sprite is included as a generated-content image that is positioned using negative margins.

This is an example that rebuilds the right-hand category navigation from Web Designer Wall using a sprite and the modified-NIR method.

<ul id="nav">
  <li id="nav-item-1"><a href="#non">Tutorials</a></li>
  <li id="nav-item-2"><a href="#non">Trends</a></li>
  <li id="nav-item-3"><a href="#non">General</a></li>
</ul>
/* modified-NIR */

#nav a {
  display: block;
  width: 225px;
  height: 46px;
  overflow: hidden;
}

#nav a:before {
   content:url(sprite.png);
   display:-moz-inline-box; /* for Firefox 1.5 & 2 */
   display:inline-block;
   font-size:0;
   line-height:0;
}

/* repositioning the sprite */

#nav-item-1 a:hover:before,
#nav-item-1 a:focus:before,
#nav-item-1 a:active:before {margin:-46px 0 0;}

#nav-item-2 a:before        {margin:-92px 0 0;}
#nav-item-2 a:hover:before,
#nav-item-2 a:focus:before,
#nav-item-2 a:active:before {margin:-138px 0 0;}

#nav-item-3 a:before        {margin:-184px 0 0;}
#nav-item-3 a:hover:before,
#nav-item-3 a:focus:before,
#nav-item-3 a:active:before {margin:-230px 0 0;}

/* :hover hack for IE8 if no a:hover styles declared */
#nav a:hover {cursor:pointer;}

For some reason IE8 refuses to reposition the image when the mouse is over the link unless a style is declared for a:hover. In most cases you will have declared a:hover styles for the basic links on your webpage, and this is enough. But it is worth being aware of this IE8 behaviour.

The addition of display:-moz-inline-box; is required to reposition the sprite in versions of Firefox prior to Firefox 3.0. They are very rare browsers but I’ve included it in case that level of legacy support is needed.

If you want image replacement in IE 6 and IE 7 the following additional styles can be served to those browsers using conditional comments.

/* Phark IR method */

#nav a {
   text-indent: -9000px;
   background: url(sprite.png) no-repeat;
}

/* repositioning the sprite */

#nav-item-1 a:hover,
#nav-item-1 a:active { background-position: 0 -46px; }

#nav-item-2 a        { background-position: 0 -92px; }
#nav-item-2 a:hover,
#nav-item-2 a:hover  { background-position: 0 -138px; }

#nav-item-3 a        { background-position: 0 -184px; }
#nav-item-3 a:hover,
#nav-item-3 a:active { background-position: 0 -230px; }

/* hack for IE6 */
#nav a:hover { margin: 0; }

The changes are fairly simple. But IE 6 applies the margins declared for a:hover:before to a:hover and so they need to be reset in the styles served to IE 6.

See the modified-NIR (using sprites) demo.




epl

Another CSS image replacement technique

A new image replacement technique was recently added to the HTML5 Boilerplate project. This post explains how it works and how it compares to alternative image replacement techniques.

[15 December 2012] This technique is no longer used in HTML5 Boilerplate. It’s been replaced by another, more reliable approach.

Here’s the CSS behind the recent update to the image replacement helper class in HTML5 Boilerplate. It has also made its way into the Compass framework.

.ir {
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

What does each declaration do?

  • font:0/0 a – a shorthand property that zeros out the font size and line-height. The a value acts as a very short font-family (an idea taken from the BEM implementation of this method). The CSS validator complains that using 0/0 in the shorthand font property is not valid, but every browser accepts it and this appears to be an error in the validator. Using font:0px/0 a passes validation but it displayed as font:0/0 a in the code that the validator flags as valid.
  • text-shadow:none – makes sure that any inherited text shadow is removed for the text. This prevents the chance of any text shadow colors showing over the background.
  • color:transparent – needed for browsers than don’t completely crush the text to the point of being invisible. Safari 4 (extremely rare) is an example of such a browser. There may also be mobile browsers than require this declaration. IE6/7/8 don’t recognise this value for color, but fortunately IE7/8 don’t show any trace of the text. IE6 shows a faint trace.

In the HTML5 Boilerplate image replacement helper, we’ve also removed any border and background-color that may be on the element. This makes it easier to use the helper class on elements like button or with links that may included background or border properties as part of a design decision.

Benefits over text-indent methods

The new technique avoids various problems with any text-indent method, including the one proposed by Scott Kellum to avoid iPad 1 performance problems related to large negative text indents.

  • Works in IE6/7 on inline-block elements. Techniques based on text indentation are basically “broken”, as shown by this test case: http://jsfiddle.net/necolas/QZvYa/show/
  • Doesn’t result in any offscreen box being created. The text-indent methods result in a box being drawn (sometimes offscreen) for any text that have been negatively or positively indented. It can sometimes cause performance problems but the font-based method sidesteps those concerns.
  • No need to specify a text-alignment and hide the overflow since the text is crushed to take up no space.
  • No need to hide br or make all fallback HTML display:inline to get around the constraints of using a text indentation. This method is not affected by those problems.
  • Fewer styles are needed as a result of these improvements.

Drawbacks

No image replacement hack is perfect.

  • Leaves a very small trace of the text in IE6.
  • This approach means that you cannot use em units for margins on elements that make use of this image replacement code. This is because the font size is set to 0.
  • Windows-Eyes has a bug that prevents the reading of text hidden using this method. There are no problems with all other screenreaders that have been tested. Thanks to @jkiss for providing these detailed results and to @wilto for confirming this technique works for JAWS 12 in IE 6/7/8 and Firefox 4/5/6.
  • Like so many IR methods, it doesn’t work when CSS is loaded but images are not.
  • Text may not be hidden if a visitor is using a user style sheet which has explicitly set important font-size declarations for the element type on which you have applied the IR class.

It’s worth noting that the NIR image replacement technique avoids these drawbacks, but lacks support in IE6/7.

Closing comments

I’ve been using this technique without significant problems for nearly a year, ever since Jonathan Neal and I used it in a clearfix experiment. The BEM framework also makes use of it for their icon components. The core idea was even proposed back in 2003 but the browser quirks of the day may have prevented wider use.

If you come across any problems with this technique, please report them at the HTML5 Boilerplate GitHub issue tracker and include a test case when appropriate.

Translations




epl

A simple Git deployment strategy for static sites

This is how I am deploying the build of my static website to staging and production domains. It requires basic use of the CLI, Git, and SSH. But once you’re set up, a single command will build and deploy.

TL;DR: Push the static build to a remote, bare repository that has a detached working directory (on the same server). A post-receive hook checks out the files in the public directory.

Prerequisites

  • A remote web server to host your site.
  • SSH access to your remote server.
  • Git installed on your remote server (check with git --version).
  • Generate an SSH key if you need one.

On the server

Set up password-less SSH access

First, you need to SSH into your server, and provide the password if prompted.

ssh user@hostname

If there is no ~/.ssh directory in your user’s home directory, create one: mkdir ~/.ssh.

Next, you need to copy your public SSH key (see “Generate an SSH key” above) to the server. This allows you to connect via SSH without having to enter a password each time.

From your local machine – assuming your public key can be found at ~/.ssh/id_rsa.pub – enter the following command, with the correct user and hostname. It will append your public key to the authorized_keys file on the remote server.

ssh user@hostname 'cat >> ~/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub

If you close the connection, and then attempt to establish SSH access, you should no longer be prompted for a password.

Create the remote directories

You need to have 2 directories for each domain you want to host. One for the Git repository, and one to contain the checked out build.

For example, if your domain were example.com and you also wanted a staging environment, you’d create these directories on the server:

mkdir ~/example.com ~/example.git

mkdir ~/staging.example.com ~/staging.example.git

Initialize the bare Git repository

Create a bare Git repository on the server. This is where you will push the build assets to, from your local machine. But you don’t want the files served here, which is why it’s a bare repository.

cd ~/example.git
git init --bare

Repeat this step for the staging domain, if you want.

Write a post-receive hook

A post-receive hook allows you to run commands after the Git repository has received commits. In this case, you can use it to change Git’s working directory from example.git to example.com, and check out a copy of the build into the example.com directory.

The location of the working directory can be set on a per-command basis using GIT_WORK_TREE, one of Git’s environment variables, or the --work-tree option.

cat > hooks/post-receive
#!/bin/sh
WEB_DIR=/path/to/example.com

# remove any untracked files and directories
git --work-tree=${WEB_DIR} clean -fd

# force checkout of the latest deploy
git --work-tree=${WEB_DIR} checkout --force

Make sure the file permissions on the hook are correct.

chmod +x hooks/post-receive

If you need to exclude some files from being cleaned out by Git (e.g., a .htpasswd file), you can do that using the --exclude option. This requires Git 1.7.3 or above to be installed on your server.

git --work-tree=${WEB_DIR} clean -fd --exclude=<pattern>

Repeat this step for the staging domain, if you want.

On your local machine

Now that the server configuration is complete, you want to deploy the build assets (not the source code) for the static site.

The build and deploy tasks

I’m using a Makefile, but use whatever you feel comfortable with. What follows is the basic workflow I wanted to automate.

  1. Build the production version of the static site.

    make build
    
  2. Initialize a new Git repo in the build directory. I don’t want to try and merge the new build into previous deploys, especially for the staging domain.

    git init ./build
    
  3. Add the remote to use for the deploy.

    cd ./build
    git remote add origin ssh://user@hostname/~/example.git
    
  4. Commit everything in the build repo.

    cd ./build
    git add -A
    git commit -m "Release"
    
  5. Force-replace the remote master branch, creating it if missing.

    cd ./build
    git push -f origin +master:refs/heads/master
    
  6. Tag the checked-out commit SHA in the source repo, so I can see which SHA’s were last deployed.

    git tag -f production
    

Using a Makefile:

BUILD_DIR := ./build
STAGING_REPO = ssh://user@hostname/~/staging.example.git
PROD_REPO = ssh://user@hostname/~/example.git

install:
    npm install

# Deploy tasks

staging: build git-staging deploy
    @ git tag -f staging
    @ echo "Staging deploy complete"

prod: build git-prod deploy
    @ git tag -f production
    @ echo "Production deploy complete"

# Build tasks

build: clean
    # whatever your build step is

# Sub-tasks

clean:
    @ rm -rf $(BUILD_DIR)

git-prod:
    @ cd $(BUILD_DIR) && 
    git init && 
    git remote add origin $(PROD_REPO)

git-staging:
    @ cd $(BUILD_DIR) && 
    git init && 
    git remote add origin $(STAGING_REPO)

deploy:
    @ cd $(BUILD_DIR) && 
    git add -A && 
    git commit -m "Release" && 
    git push -f origin +master:refs/heads/master

.PHONY: install build clean deploy git-prod git-staging prod staging

To deploy to staging:

make staging

To deploy to production:

make prod

Using Make, it’s a little bit more hairy than usual to force push to master, because the cd commands take place in a sub-process. You have to make sure subsequent commands are on the same line. For example, the deploy task would force push to your source code’s remote master branch if you failed to join the commands with && or ;!

I push my site’s source code to a private repository on BitBucket. One of the nice things about BitBucket is that it gives you the option to prevent deletions or history re-writes of branches.

If you have any suggested improvements, let me know on Twitter.






epl

JAMA Cardiology : Utility of 90-Day vs 30-Day Mortality Quality Metrics for Aortic Valve Replacement Outcomes

Interview with Tsuyoshi Kaneko, MD, and Sameer A Hirji, MD, authors of Utility of 90-Day Mortality vs 30-Day Mortality as a Quality Metric for Transcatheter and Surgical Aortic Valve Replacement Outcomes, and Michael J. Mack, MD, author of Ninety-Day Outcome Assessment After Transcatheter and Surgical Aortic Valve Replacement—Is the Juice Worth the Squeeze?




epl

Risk-averse investors re-deploy funds in arbitrage MF schemes in April

Aversion to debt products has contributed to renewed interest in the category




epl

Sushma Swaraj directs deployment of more staff for exit of Indians from Libya



  • DO NOT USE Indians Abroad
  • World

epl

Ex-Disney workers replaced by H1-B visa holders file complaint



  • DO NOT USE Indians Abroad
  • World

epl

Reply to the ‘Comment on “Investigation on the structure and thermoelectric properties of CuxTe binary compounds”’ by A. H. Barajas-Aguilar, A. M. Garay-Tapia, and S. J. Jiménez-Sandoval, Dalton Trans., 2020, 49, DOI: 10.1039/C9DT03607E

Dalton Trans., 2020, 49,5738-5740
DOI: 10.1039/D0DT00412J, Comment
Shriparna Mukherjee, Raju Chetty, P. V. Prakash Madduri, Ajaya K. Nayak, Krzysztof Wojciechowski, Tanmoy Ghosh, Kamanio Chattopadhyay, Satyam Suwas, Ramesh Chandra Mallik
In a communication to Dalton Transaction and in a paper in Journal of Physics: Condensed Matter, Aarón H. Barajas-Aguilar et al. have raised comments on our paper published earlier in Dalton Transactions.
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

Enhancing the energy barrier by replacing the counterions in two holmium(III)-pentagonal bipyramidal single-ion magnets

Dalton Trans., 2020, Advance Article
DOI: 10.1039/D0DT00905A, Paper
Lei-Lei Li, Hong-Dan Su, Shuang Liu, Wen-Zhen Wang
Upon changing the employed halide ions as counterions, Ueff increases from 290 K to 320 K in two HoIII-SIMs with pentagonal-bipyramidal structures.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




epl

At least six EPL teams oppose restart

The Premier League's 'Project Restart' envisages a return to play in June, once given the green light from government, with the remaining 92 matches held behind closed doors at neutral venues.




epl

Researchers rewarded for publishing null results and replication studies




epl

Erika Milczek is replacing banned chemicals in consumer products

With Curie Co., the entrepreneur designs alternatives to compounds like parabens that have fallen out of favor with retailers




epl

Cell studies suggest some repurposed drugs could block replication of SARS-CoV-2

The experiments follow up on an earlier study that identified 69 compounds that could disrupt possible interactions between viral and human proteins




epl

CFC replacements are a source of persistent organic pollution in the Arctic

Analysis of ice cores shows increasing levels of three short-chain PFAS linked to CFC replacement chemicals